diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-05-16 18:23:29 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-05-17 15:07:18 +0200 |
commit | aa557a6ec5e8fc9efb029ed357bc08481d9df760 (patch) | |
tree | 67bed34ab27710c76d20e634d1a40c5c35b2200c /vcl/source | |
parent | 45112bfd091b8a14729f1010d2662c9064ba03e6 (diff) |
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@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/paint.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |