vcl/source/window/paint.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit aa557a6ec5e8fc9efb029ed357bc08481d9df760 Author: Tamás Zolnai <tamas.zol...@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.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 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); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits