tdf#93991: One pixel here or there, who is counting?

<tools/gen.hxx> Rectangle, I love you.

Change-Id: Iaf7ae2930d6098349f04cd429cd35dffcaf7ca3b
This commit is contained in:
Tor Lillqvist
2015-12-11 15:25:30 +02:00
parent b0ef4a1618
commit edbe61b671

View File

@ -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();