summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorFrank Meies <fme@openoffice.org>2002-08-19 10:16:14 +0000
committerFrank Meies <fme@openoffice.org>2002-08-19 10:16:14 +0000
commit69aebe7cc81062aa3a36a3d1aa2ba40b23848141 (patch)
tree7815d758c675305afbf306d86282947d8973e623 /sw
parent5b9f7a26a5dea49c62c75ce9b3d165649ed66a51 (diff)
#101506#: Repaint problems for selected text
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/trvlfrm.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index b45bb97523f8..b6289b8dd4bd 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: trvlfrm.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: ama $ $Date: 2002-03-15 11:47:59 $
+ * last change: $Author: fme $ $Date: 2002-08-19 11:16:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2261,7 +2261,7 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
(aSubRect.*fnRect->fnSetLeft)( lLeft );
(aSubRect.*fnRect->fnSetRight)( lRight );
(aSubRect.*fnRect->fnSetTop)( aTmpBottom );
- (aSubRect.*fnRect->fnSetBottom)( aTmpTop - 1 );
+ (aSubRect.*fnRect->fnSetBottom)( aTmpTop );
Sub( aRegion, aSubRect );
}
//and the last line
@@ -2343,7 +2343,7 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
if( (aEndFrm.*fnRect->fnGetTop)() != nTmp )
{
aSubRect = aEndFrm;
- (aSubRect.*fnRect->fnSetBottom)( nTmp - 1 );
+ (aSubRect.*fnRect->fnSetBottom)( nTmp );
Sub( aRegion, aSubRect );
}
aSubRect = aEndRect;