[Libreoffice-commits] core.git: Branch 'feature/lok_dialog' - desktop/source
Pranav Kant
pranavk at collabora.co.uk
Fri Jul 28 17:16:57 UTC 2017
desktop/source/lib/init.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 08baa1485d1df3b0dcede5643fc58c910b28a067
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Fri Jul 28 22:45:07 2017 +0530
lokdialog: Set dialog painting flags while painting
These are used to supress any dialog invalidations emitted while
painting the dialog. We are not interested in any such invalidations.
Change-Id: I2a7b018124af501bce18adbff0f5db85adf5fce2
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 6c99fed756ab..244bfc5e8994 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2926,7 +2926,9 @@ static void doc_paintDialog(LibreOfficeKitDocument* pThis, const char* pDialogId
vcl::DialogID aDialogID = OUString::createFromAscii(pDialogId);
+ comphelper::LibreOfficeKit::setDialogPainting(true);
pDialogRenderable->paintDialog(aDialogID, *pDevice.get(), *nWidth, *nHeight);
+ comphelper::LibreOfficeKit::setDialogPainting(false);
}
static char* lo_getError (LibreOfficeKit *pThis)
More information about the Libreoffice-commits
mailing list