diff options
author | Frank Meies <fme@openoffice.org> | 2001-06-27 05:16:44 +0000 |
---|---|---|
committer | Frank Meies <fme@openoffice.org> | 2001-06-27 05:16:44 +0000 |
commit | c2d02dcd9ffb7a114af8fba5c2576e44c9a29520 (patch) | |
tree | b7145ace721847fc19b953600c11379edda102fd /sw/source/core/text/frmform.cxx | |
parent | b2f4fd3eb9f789ac2810ee6ec676e622d6dea31f (diff) |
Fix: Repaint problems with blanks when removing a hole portion at the end of a line
Diffstat (limited to 'sw/source/core/text/frmform.cxx')
-rw-r--r-- | sw/source/core/text/frmform.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sw/source/core/text/frmform.cxx b/sw/source/core/text/frmform.cxx index fab04278e1c1..af0c5de9e755 100644 --- a/sw/source/core/text/frmform.cxx +++ b/sw/source/core/text/frmform.cxx @@ -2,9 +2,9 @@ * * $RCSfile: frmform.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: fme $ $Date: 2001-06-13 08:31:16 $ + * last change: $Author: fme $ $Date: 2001-06-27 06:16:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1078,9 +1078,13 @@ sal_Bool SwTxtFrm::FormatLine( SwTxtFormatter &rLine, const sal_Bool bPrev ) const long nWidthDiff = nOldWidth > pNew->Width() ? nOldWidth - pNew->Width() : pNew->Width() - nOldWidth; + + // we only declare a line as unchanged, if its main values have not + // changed and it is not the last line (!paragraph end symbol!) bUnChg = nOldHeight == pNew->Height() && nOldAscent == pNew->GetAscent() && - nWidthDiff <= SLOPPY_TWIPS; + nWidthDiff <= SLOPPY_TWIPS && + pOldCur->GetNext(); } // rRepaint wird berechnet: |