desktop/source/lib/init.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 08baa1485d1df3b0dcede5643fc58c910b28a067 Author: Pranav Kant <pran...@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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits