summaryrefslogtreecommitdiff
path: root/vcl/source/window/floatwin.cxx
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2018-05-16 17:36:36 +0200
committerTamás Zolnai <tamas.zolnai@collabora.com>2018-05-17 23:18:54 +0200
commitcee3840c01292dc3ef98d996d00f57f43eb35e9e (patch)
treebfd354a5c0fe79de643d0c4abac45a0dd6317143 /vcl/source/window/floatwin.cxx
parentf9ecd0f47960c8975f01c4564228796342e19be1 (diff)
lok: Always specify the invalidate rectangle explicitely
It will be needed for a later change in online code. Change-Id: Ic8f898b78ccaaaec849a1894b5e70fb730d70d6d Reviewed-on: https://gerrit.libreoffice.org/54443 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'vcl/source/window/floatwin.cxx')
-rw-r--r--vcl/source/window/floatwin.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index 19c8ed1b5748..f52aafeac5ab 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -594,8 +594,11 @@ void FloatingWindow::LogicInvalidate(const tools::Rectangle* /*pRectangle*/)
{
if (VclPtr<vcl::Window> pParent = GetParentWithLOKNotifier())
{
+ std::vector<vcl::LOKPayloadItem> aPayload;
+ const tools::Rectangle aRect(Point(0,0), Size(GetSizePixel().Width()+1, GetSizePixel().Height()+1));
+ aPayload.push_back(std::make_pair(OString("rectangle"), aRect.toString()));
const vcl::ILibreOfficeKitNotifier* pNotifier = pParent->GetLOKNotifier();
- pNotifier->notifyWindow(GetLOKWindowId(), "invalidate");
+ pNotifier->notifyWindow(GetLOKWindowId(), "invalidate", aPayload);
}
}