Kaydet (Commit) 668e7d9d authored tarafından Pranav Kant's avatar Pranav Kant

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
üst 9874cd5e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment