diff options
author | Andreas Martens <ama@openoffice.org> | 2001-03-08 07:16:18 +0000 |
---|---|---|
committer | Andreas Martens <ama@openoffice.org> | 2001-03-08 07:16:18 +0000 |
commit | b2e2a5a2dd3a6c42520f644a3f493e6ff063e8af (patch) | |
tree | df24aee80bd15f3e1a381c476d975bda15db35ca /sw/source/core/text/itratr.cxx | |
parent | 770535d554e02fed35cb381171863cbbba553d85 (diff) |
Opt.(FME): cache for paragraph style
Diffstat (limited to 'sw/source/core/text/itratr.cxx')
-rw-r--r-- | sw/source/core/text/itratr.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sw/source/core/text/itratr.cxx b/sw/source/core/text/itratr.cxx index dc1af6ebd48f..8f243e98f35a 100644 --- a/sw/source/core/text/itratr.cxx +++ b/sw/source/core/text/itratr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: itratr.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: ama $ $Date: 2001-03-06 16:02:26 $ + * last change: $Author: ama $ $Date: 2001-03-08 08:16:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -298,6 +298,9 @@ sal_Bool SwAttrIter::IsSymbol( const xub_StrLen nNewPos ) sal_Bool SwAttrIter::SeekStartAndChg( OutputDevice *pOut, const sal_Bool bParaFont ) { + if ( pRedln && pRedln->ExtOn() ) + pRedln->LeaveExtend( *pFnt, 0 ); + // Gehe zurueck auf Start ... pFnt->SetFnt( pAttrSet ); pFnt->GetTox() = 0; @@ -398,6 +401,9 @@ void SwAttrIter::SeekFwd( const xub_StrLen nNewPos ) sal_Bool SwAttrIter::Seek( const xub_StrLen nNewPos ) { + if ( pRedln && pRedln->ExtOn() ) + pRedln->LeaveExtend( *pFnt, nNewPos ); + if( pHints ) { if( !nNewPos || nNewPos < nPos ) |