summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Schäfer <ssa@openoffice.org>2002-09-20 14:51:41 +0000
committerStephan Schäfer <ssa@openoffice.org>2002-09-20 14:51:41 +0000
commitaae8a0c8ea27a1a6451c28d66de1ee7f0f0323ef (patch)
treee141b34ad03c7523dabf7fdbf3289bba17ec9454
parent0327a9327cd02012fcad787a4cc65184bda224de (diff)
#99188# enlarge textrect to get rid of rounding problems
-rw-r--r--vcl/source/gdi/outdev3.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index 455b97ba1cb5..6afaf67dc325 100644
--- a/vcl/source/gdi/outdev3.cxx
+++ b/vcl/source/gdi/outdev3.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: outdev3.cxx,v $
*
- * $Revision: 1.122 $
+ * $Revision: 1.123 $
*
- * last change: $Author: hdu $ $Date: 2002-09-20 14:11:42 $
+ * last change: $Author: ssa $ $Date: 2002-09-20 15:51:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -6160,6 +6160,7 @@ Rectangle OutputDevice::GetTextRect( const Rectangle& rRect,
else
aRect.Bottom() = aRect.Top()+(nTextHeight*nLines)-1;
+ aRect.Right()++; // #99188# get rid of rounding problems when using this rect later
return aRect;
}