summaryrefslogtreecommitdiff
path: root/desktop/source/lib/init.cxx
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-11-30 23:35:05 +0530
committerAndras Timar <andras.timar@collabora.com>2018-03-19 14:56:00 +0100
commit7a2b5aa2607d765fb59a3fabdf9c283fc8857ac1 (patch)
tree0fa0e11545d9f24f45ffabd144363b85512e5276 /desktop/source/lib/init.cxx
parent6bd477aed78bd5d6fd191daf26c526a89c4b8e70 (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 (cherry picked from commit ec09f526114ef289e7a0a7804f443f2b16a67f15)
Diffstat (limited to 'desktop/source/lib/init.cxx')
-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 02790af6b2f4..34ada55de87e 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3310,7 +3310,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);
}