summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/dialog.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 0adb46c59d07..720153d5c7d2 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -1324,6 +1324,17 @@ void Dialog::queue_resize(StateChangedType eReason)
SystemWindow::queue_resize(eReason);
}
+void Dialog::Resize()
+{
+ SystemWindow::Resize();
+
+ // inform LOK clients
+ if (!comphelper::LibreOfficeKit::isDialogPainting() && mpDialogRenderable && !maID.isEmpty())
+ {
+ mpDialogRenderable->notifyDialog(maID, "invalidate", nullptr);
+ }
+}
+
bool Dialog::set_property(const OString &rKey, const OUString &rValue)
{
if (rKey == "border-width")