diff options
Diffstat (limited to 'sw/source/core/doc/number.cxx')
-rw-r--r-- | sw/source/core/doc/number.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx index a3e49d23b04e..166a53c8088d 100644 --- a/sw/source/core/doc/number.cxx +++ b/sw/source/core/doc/number.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -350,7 +350,7 @@ void SwNumFmt::SetCharFmtName(const String& rSet) SvxNumberFormat::SetCharFmtName(rSet); } -const String& SwNumFmt::GetCharFmtName() const +const String& SwNumFmt::GetCharFmtName() const { if((SwCharFmt*)pRegisteredIn) return ((SwCharFmt*)pRegisteredIn)->GetName(); @@ -358,7 +358,7 @@ const String& SwNumFmt::GetCharFmtName() const return aEmptyStr; } -void SwNumFmt::SetGraphicBrush( const SvxBrushItem* pBrushItem, const Size* pSize, +void SwNumFmt::SetGraphicBrush( const SvxBrushItem* pBrushItem, const Size* pSize, const sal_Int16* pOrient) { if(pOrient) @@ -472,7 +472,7 @@ SwNumRule::SwNumRule( const String& rNm, nSerial = nInstances++; #endif - if( !nRefCount++ ) // zum erstmal, also initialisiern + if( !nRefCount++ ) // zum erstmal, also initialisiern { SwNumFmt* pFmt; BYTE n; @@ -591,7 +591,7 @@ SwNumRule::~SwNumRule() pNumRuleMap->erase(GetName()); } - if( !--nRefCount ) // der letzte macht die Tuer zu + if( !--nRefCount ) // der letzte macht die Tuer zu { // Nummerierung: SwNumFmt** ppFmts = (SwNumFmt**)SwNumRule::aBaseFmts; @@ -776,13 +776,13 @@ String SwNumRule::MakeNumString( const SwNumberTree::tNumberVector & rNumVector, aStr += rNFmt.GetNumStr( rNumVector[ i ] ); } else - aStr += '0'; // alle 0-Level sind eine 0 + aStr += '0'; // alle 0-Level sind eine 0 if( i != nLevel && aStr.Len() ) aStr += aDotStr; } //JP 14.12.99: the type dont have any number, so dont append - // the Post-/Prefix String + // the Post-/Prefix String if( bInclStrings && !bOnlyArabic && SVX_NUM_CHAR_SPECIAL != rMyNFmt.GetNumberingType() && SVX_NUM_BITMAP != rMyNFmt.GetNumberingType() ) @@ -929,7 +929,7 @@ void SwNumRule::SetInvalidRule(BOOL bFlag) SwList* pList = pTxtNode->GetDoc()->getListByName( pTxtNode->GetListId() ); OSL_ENSURE( pList, "<SwNumRule::SetInvalidRule(..)> - list at which the text node is registered at does not exist. This is a serious issue --> please inform OD."); if ( pList ) - { + { aLists.insert( pList ); } // <-- |