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:34:47 +0200
commitce12f0396d27b4119826bee9c30a24af9c9eb33d (patch)
tree9dbf3f20bada367a718526ad2852b323b616489b
parent6c0e47689c89a7a1d19d86e92a547e9f18a00659 (diff)
tdf#93991: One pixel here or there, who is counting?
<tools/gen.hxx> Rectangle, I love you. Change-Id: Iaf7ae2930d6098349f04cd429cd35dffcaf7ca3b (cherry picked from commit edbe61b671bc4c384be914099ee8bcdfd8491f3a)
-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();