summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2018-01-26 15:53:32 +0530
committerJan Holesovsky <kendy@collabora.com>2018-01-29 17:44:33 +0100
commit150d6f4e7490b06ff7c1c9062f718a1afe446afd (patch)
tree2ecce74cd91e81ec02516b30f420c61c4669367f
parentd7cec9dc92f129558db97735d71ebabf32f92378 (diff)
lokdialog: Call LOK invalidate explicitly herecp-5.3-39
In some cases, Window::Update is called directly by the child classes. This is not good for LOK clients because they rely on 'invalidate' callbacks for painting the window. Change-Id: I05402d7597841c96a25b7f5ac4cc60dda6ec5a16 (cherry-picked from a39cefd99c40f121b60c882dba6000894b6996d9) Reviewed-on: https://gerrit.libreoffice.org/48677 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r--vcl/source/window/paint.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index fcfbc4bf905c..a3fe6a6612b3 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -1324,6 +1324,7 @@ void Window::Update()
}
pUpdateWindow->ImplCallPaint(nullptr, pUpdateWindow->mpWindowImpl->mnPaintFlags);
+ pUpdateWindow->LogicInvalidate(nullptr);
if (xWindow->IsDisposed())
return;