vcl/source/control/edit.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 2a86ebda07e52071f8a8766b74de7bc57cae3a09 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Apr 16 08:33:01 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Apr 16 10:24:36 2019 +0200 edit widget not redrawing text properly since... commit 4c4d9a482b93440fd3388ffa1715e66d1f391fea Date: Sun Apr 14 16:41:42 2019 +0200 loplugin:sequentialassign in vcl Change-Id: I55e47ab919757486e5eeaefea857df9578924cd2 Reviewed-on: https://gerrit.libreoffice.org/70807 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 72cb09c30924..0ced8a8675ca 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -1032,13 +1032,13 @@ void Edit::ImplPaintBorder(vcl::RenderContext const & rRenderContext) aClipRgn.Move(xNew - aBounds.Left(), 0); // move offset of border window - Point aBorderOffs = pBorder->ScreenToOutputPixel(OutputToScreenPixel(aBorderOffs)); + Point aBorderOffs = pBorder->ScreenToOutputPixel(OutputToScreenPixel(Point())); aClipRgn.Move(aBorderOffs.X(), aBorderOffs.Y()); } else { // normal case - Point aBorderOffs = pBorder->ScreenToOutputPixel(OutputToScreenPixel(aBorderOffs)); + Point aBorderOffs = pBorder->ScreenToOutputPixel(OutputToScreenPixel(Point())); aClipRgn.Move(aBorderOffs.X(), aBorderOffs.Y()); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits