summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorFrank Meies <fme@openoffice.org>2001-07-12 12:19:59 +0000
committerFrank Meies <fme@openoffice.org>2001-07-12 12:19:59 +0000
commit9ce915450540abfff3585e721cc1b5ac197c9850 (patch)
tree06add82f03ecba4c32ddb8e97b78f559eb917aa7 /sw/source
parent3617983a88c7c63a99350cc3b6e093cca1dcff1e (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.cxx7
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();