[Libreoffice-commits] core.git: vcl/source
Tor Lillqvist
tml at collabora.com
Fri Dec 11 05:31:59 PST 2015
vcl/source/control/edit.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit edbe61b671bc4c384be914099ee8bcdfd8491f3a
Author: Tor Lillqvist <tml at collabora.com>
Date: Fri Dec 11 15:25:30 2015 +0200
tdf#93991: One pixel here or there, who is counting?
<tools/gen.hxx> Rectangle, I love you.
Change-Id: Iaf7ae2930d6098349f04cd429cd35dffcaf7ca3b
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 4b1056c..d0e4eb1 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();
More information about the Libreoffice-commits
mailing list