From 51742bbb95d2ccfb7a8e7c5787c5bad92919f7af Mon Sep 17 00:00:00 2001 From: Andreas Martens Date: Wed, 28 Feb 2001 07:46:55 +0000 Subject: Fix: Kerning portion in underflow situations --- sw/source/core/text/itrform2.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sw/source/core') 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 ) { -- cgit v1.2.3