[Libreoffice-commits] core.git: vcl/source
Tamás Zolnai
tamas.zolnai at collabora.com
Thu May 17 13:07:41 UTC 2018
vcl/source/window/paint.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit aa557a6ec5e8fc9efb029ed357bc08481d9df760
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date: Wed May 16 18:23:29 2018 +0200
lok: One pixel is not invalidated on the right side for dialog previews
For example: Character dialog -> Highlighting or
Character dialog -> Font.
Change-Id: I0d1269cdb9d4f482caea27b23ae204351f7dac23
Reviewed-on: https://gerrit.libreoffice.org/54446
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 0bd9caf964a3..b4e814b158c1 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -1204,7 +1204,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(), GetOutOffYPixel()), Size(GetOutputWidthPixel(), GetOutputHeightPixel()));
+ const tools::Rectangle aRect(Point(GetOutOffXPixel()+1, GetOutOffYPixel()), Size(GetOutputWidthPixel(), GetOutputHeightPixel()));
pParent->LogicInvalidate(&aRect);
}
}
More information about the Libreoffice-commits
mailing list