summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-12-11 15:25:30 +0200
committerTor Lillqvist <tml@collabora.com>2015-12-11 15:30:56 +0200
commitedbe61b671bc4c384be914099ee8bcdfd8491f3a (patch)
tree336160e53ca2d4d880620c850ea5fa0e286c01db
parentb0ef4a1618624dc506075aab789581e270a47654 (diff)
tdf#93991: One pixel here or there, who is counting?
<tools/gen.hxx> Rectangle, I love you. Change-Id: Iaf7ae2930d6098349f04cd429cd35dffcaf7ca3b
-rw-r--r--vcl/source/control/edit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 4b1056c55fc7..d0e4eb1a3018 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -545,7 +545,7 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext, const Rectangle& rRec
if (pCursor)
pCursor->Hide();
- ImplClearBackground(rRenderContext, rRectangle, 0, GetOutputSizePixel().Width());
+ ImplClearBackground(rRenderContext, rRectangle, 0, GetOutputSizePixel().Width()-1);
bool bPaintPlaceholderText = aText.isEmpty() && !maPlaceholderText.isEmpty();