summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-11-30 23:35:05 +0530
committerJan Holesovsky <kendy@collabora.com>2017-12-05 12:11:16 +0100
commit9b65dfeca72c860947c2a78778b41c9a58e3e383 (patch)
tree4b2c9493431bace79c344ba433752d87df75a6ae /desktop
parent8ef8ae4695e37483377a1f3450582faddb1ddaed (diff)
lokdialog: Kill some code; use already existing method to paint
This is not require now in the new approach where the dialog is already created by the time paint request call for dialog happens. Layouting is already complete by that time. Change-Id: I610b050a268e61e8d4036aa7eb5766cf0c8b37e0
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 1ca906185de4..98d3ac7c86a7 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3337,7 +3337,7 @@ static void doc_paintWindow(LibreOfficeKitDocument* /*pThis*/, unsigned nLOKWind
pDevice->SetMapMode(aMapMode);
comphelper::LibreOfficeKit::setDialogPainting(true);
- pWindow->paintDialog(*pDevice.get());
+ pWindow->PaintToDevice(pDevice.get(), Point(0, 0), Size());
comphelper::LibreOfficeKit::setDialogPainting(false);
}