From 9d29f9913faaefe350d7e056330368b3dfa26d49 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 28 Jan 2014 19:57:21 +0100 Subject: bool improvements Change-Id: I6cf511b92383f3cd60923620518b9233b82850c0 --- svl/source/items/style.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'svl/source/items/style.cxx') diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 55bca3f0a65d..f8e15d2324f1 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -96,8 +96,8 @@ SfxStyleSheetBase::SfxStyleSheetBase( const OUString& rName, SfxStyleSheetBasePo , pSet( NULL ) , nMask(mask) , nHelpId( 0 ) - , bMySet( sal_False ) - , bHidden( sal_False ) + , bMySet( false ) + , bHidden( false ) { #ifdef DBG_UTIL aDbgStyleSheetReferences.mnStyles++; @@ -161,7 +161,7 @@ bool SfxStyleSheetBase::SetName( const OUString& rName ) OUString aOldName = aName; SfxStyleSheetBase *pOther = pPool->Find( rName, nFamily ) ; if ( pOther && pOther != this ) - return sal_False; + return false; SfxStyleFamily eTmpFam = pPool->GetSearchFamily(); sal_uInt16 nTmpMask = pPool->GetSearchMask(); @@ -169,7 +169,7 @@ bool SfxStyleSheetBase::SetName( const OUString& rName ) pPool->SetSearchMask(nFamily); if ( !aName.isEmpty() ) - pPool->ChangeParent( aName, rName, sal_False ); + pPool->ChangeParent( aName, rName, false ); if ( aFollow == aName ) aFollow = rName; @@ -269,7 +269,7 @@ SfxItemSet& SfxStyleSheetBase::GetItemSet() if( !pSet ) { pSet = new SfxItemSet( pPool->GetPool() ); - bMySet = sal_True; + bMySet = true; } return *pSet; } @@ -385,11 +385,11 @@ SfxStyleSheetIterator::SfxStyleSheetIterator(SfxStyleSheetBasePool *pBase, { pBasePool=pBase; nSearchFamily=eFam; - bSearchUsed=sal_False; + bSearchUsed=false; if( (( n & SFXSTYLEBIT_ALL_VISIBLE ) != SFXSTYLEBIT_ALL_VISIBLE ) && ((n & SFXSTYLEBIT_USED) == SFXSTYLEBIT_USED)) { - bSearchUsed = sal_True; + bSearchUsed = true; n &= ~SFXSTYLEBIT_USED; } nMask=n; -- cgit v1.2.3