summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorAndreas Martens <ama@openoffice.org>2001-02-28 07:46:55 +0000
committerAndreas Martens <ama@openoffice.org>2001-02-28 07:46:55 +0000
commit51742bbb95d2ccfb7a8e7c5787c5bad92919f7af (patch)
treed86e7c2c49cc04743189ccbbac89ab67e1fcc333 /sw/source/core
parenta9ff71aa51860f09c4713622946e27e001b5225f (diff)
Fix: Kerning portion in underflow situations
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/text/itrform2.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx
index e3280f47a2b3..026fa630df06 100644
--- a/sw/source/core/text/itrform2.cxx
+++ b/sw/source/core/text/itrform2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: itrform2.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: ama $ $Date: 2001-02-20 10:27:05 $
+ * last change: $Author: ama $ $Date: 2001-02-28 08:46:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -504,7 +504,8 @@ SwLinePortion *SwTxtFormatter::UnderFlow( SwTxtFormatInfo &rInf )
while( pPor && pPor != pUnderFlow )
{
DBG_LOOP;
- if( pPor->Width() || pPor->IsSoftHyphPortion() )
+ if( !pPor->IsKernPortion() &&
+ ( pPor->Width() || pPor->IsSoftHyphPortion() ) )
{
while( pPrev != pPor )
{