diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-07-28 22:45:07 +0530 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2017-10-02 10:57:21 +0530 |
commit | 668e7d9da3e7e75142867f03e01cb16279acc543 (patch) | |
tree | 20b1b062b6a04989698baaec5c3708c9613e8c97 /desktop | |
parent | 9874cd5efae7fb45f68da0e5ebc7701fdad0414a (diff) |
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
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 3b8982553dfb..9acff4501b31 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -3025,7 +3025,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) |