diff options
author | Frank Meies <fme@openoffice.org> | 2001-07-12 12:19:59 +0000 |
---|---|---|
committer | Frank Meies <fme@openoffice.org> | 2001-07-12 12:19:59 +0000 |
commit | 9ce915450540abfff3585e721cc1b5ac197c9850 (patch) | |
tree | 06add82f03ecba4c32ddb8e97b78f559eb917aa7 /sw/source | |
parent | 3617983a88c7c63a99350cc3b6e093cca1dcff1e (diff) |
Opt #89492#: Construction of default attribute array, break condition for attributes
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/text/atrstck.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/core/text/atrstck.cxx b/sw/source/core/text/atrstck.cxx index c16dd1bb1afe..ccec4cd48921 100644 --- a/sw/source/core/text/atrstck.cxx +++ b/sw/source/core/text/atrstck.cxx @@ -2,9 +2,9 @@ * * $RCSfile: atrstck.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: fme $ $Date: 2001-07-12 11:19:17 $ + * last change: $Author: fme $ $Date: 2001-07-12 13:19:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -390,7 +390,6 @@ void SwAttrHandler::Init( const SfxPoolItem** pPoolItem, const SwAttrSet& rAS, // do we have to apply additional paragraph attributes? if ( bAttrSet && rAS.Count() ) { - // any other paragraph attributes for the default array? SfxItemIter aIter( rAS ); register USHORT nWhich; const SfxPoolItem* pItem = aIter.GetCurItem(); @@ -403,7 +402,7 @@ void SwAttrHandler::Init( const SfxPoolItem** pPoolItem, const SwAttrSet& rAS, FontChg( *pItem, rFnt, sal_True ); } - if( aIter.IsAtEnd() || nWhich >= RES_TXTATR_END ) + if( aIter.IsAtEnd() ) break; pItem = aIter.NextItem(); |