vcl/source/window/paint.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7a77d927c88a04ee51ceb765c77e725a67a1d1a7 Author: Tamás Zolnai <tamas.zol...@collabora.com> Date: Thu May 17 15:24:12 2018 +0200 lok: Use GetSizePixel() here which calculates also with border Change-Id: I6f96abdd4d85c8dfed8bf83e1b2a30192a54bd2d Reviewed-on: https://gerrit.libreoffice.org/54494 Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com> Tested-by: Tamás Zolnai <tamas.zol...@collabora.com> diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx index d8243588496b..415429cec76c 100644 --- a/vcl/source/window/paint.cxx +++ b/vcl/source/window/paint.cxx @@ -1209,7 +1209,7 @@ void Window::LogicInvalidate(const tools::Rectangle* pRectangle) // Added for dialog items. Pass invalidation to the parent window. else if (VclPtr<vcl::Window> pParent = GetParentWithLOKNotifier()) { - const tools::Rectangle aRect(Point(GetOutOffXPixel()+1, GetOutOffYPixel()), Size(GetOutputWidthPixel(), GetOutputHeightPixel())); + const tools::Rectangle aRect(Point(GetOutOffXPixel(), GetOutOffYPixel()), GetSizePixel()); pParent->LogicInvalidate(&aRect); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits