Kaydet (Commit) 6625d536 authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Aron Budea

lok: Fix the font previews in eg. Format -> Character... dialog.

Change-Id: I5d25249c58f55c501e3e5610419753a68423b0f2
Reviewed-on: https://gerrit.libreoffice.org/67612Reviewed-by: 's avatarAron Budea <aron.budea@collabora.com>
Tested-by: 's avatarAron Budea <aron.budea@collabora.com>
üst b5f1e2fc
......@@ -1395,9 +1395,11 @@ void Window::ImplPaintToDevice( OutputDevice* i_pTargetOutDev, const Point& i_rP
if (!IsPaintTransparent() && IsBackground() && ! (GetParentClipMode() & ParentClipMode::NoClip))
Erase(*pDevice);
pDevice->SetMapMode(GetMapMode());
Paint(*pDevice, tools::Rectangle(Point(), GetOutputSizePixel()));
i_pTargetOutDev->DrawOutDev(i_rPos, aSize, Point(), aSize, *pDevice);
i_pTargetOutDev->DrawOutDev(i_rPos, aSize, Point(), pDevice->PixelToLogic(aSize), *pDevice);
// get rid of virtual device now so they don't pile up during recursive calls
pDevice.disposeAndClear();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment