summaryrefslogtreecommitdiff
path: root/sfx2/source/toolbox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-07 09:15:28 +0200
committerNoel Grandin <noel@peralex.com>2014-04-07 13:53:50 +0200
commit74fdda0cd41d97b6c97d2115584ee48fd552514e (patch)
treefa29308f180abbd7dec4c16f5603604a15fa079e /sfx2/source/toolbox
parent1eee88dd6bf2c647aa3458d33a5f45c51c024186 (diff)
sfx2: sal_Bool->bool
Change-Id: I48ae51781f64e60deb0c03352087100729c8c3cd
Diffstat (limited to 'sfx2/source/toolbox')
-rw-r--r--sfx2/source/toolbox/imgmgr.cxx10
-rw-r--r--sfx2/source/toolbox/tbxitem.cxx4
2 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/toolbox/imgmgr.cxx b/sfx2/source/toolbox/imgmgr.cxx
index 3546c1de2e6a..7e56fc0d88c9 100644
--- a/sfx2/source/toolbox/imgmgr.cxx
+++ b/sfx2/source/toolbox/imgmgr.cxx
@@ -129,7 +129,7 @@ static ImageList* GetImageList( bool bBig )
return rpList;
}
-static sal_Int16 impl_convertBools( sal_Bool bLarge )
+static sal_Int16 impl_convertBools( bool bLarge )
{
sal_Int16 nIndex( 0 );
if ( bLarge )
@@ -199,7 +199,7 @@ void SfxImageManager_Impl::SetSymbolsSize_Impl( sal_Int16 nNewSymbolsSize )
if ( nNewSymbolsSize != m_nSymbolsSize )
{
m_nSymbolsSize = nNewSymbolsSize;
- sal_Bool bLarge( m_nSymbolsSize == SFX_SYMBOLS_SIZE_LARGE );
+ bool bLarge( m_nSymbolsSize == SFX_SYMBOLS_SIZE_LARGE );
for ( sal_uInt32 n=0; n < m_aToolBoxes.size(); n++ )
{
@@ -331,7 +331,7 @@ Image SfxImageManager::GetImage( sal_uInt16 nId, bool bBig ) const
Image SfxImageManager::GetImage( sal_uInt16 nId ) const
{
- sal_Bool bLarge = SvtMiscOptions().AreCurrentSymbolsLarge();
+ bool bLarge = SvtMiscOptions().AreCurrentSymbolsLarge();
return GetImage( nId, bLarge );
}
@@ -339,7 +339,7 @@ Image SfxImageManager::GetImage( sal_uInt16 nId ) const
Image SfxImageManager::SeekImage( sal_uInt16 nId, bool bBig ) const
{
- sal_Bool bGlobal = ( pImp->m_pModule == 0 );
+ bool bGlobal = ( pImp->m_pModule == 0 );
ImageList* pImageList = pImp->GetImageList( bBig );
if ( pImageList && pImageList->HasImageAtPos( nId ) )
return pImageList->GetImage( nId );
@@ -356,7 +356,7 @@ Image SfxImageManager::SeekImage( sal_uInt16 nId, bool bBig ) const
Image SfxImageManager::SeekImage( sal_uInt16 nId ) const
{
- sal_Bool bLarge = SvtMiscOptions().AreCurrentSymbolsLarge();
+ bool bLarge = SvtMiscOptions().AreCurrentSymbolsLarge();
return SeekImage( nId, bLarge );
}
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index 50100aae2675..81cae6cf568c 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -543,7 +543,7 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception )
}
else if ( pType == ::getBooleanCppuType() )
{
- sal_Bool bTemp = false;
+ bool bTemp = false;
rEvent.State >>= bTemp ;
pItem = new SfxBoolItem( nSlotId, bTemp );
}
@@ -1089,7 +1089,7 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception )
}
else if ( pType == ::getBooleanCppuType() )
{
- sal_Bool bTemp = false;
+ bool bTemp = false;
rEvent.State >>= bTemp ;
pItem = new SfxBoolItem( nSlotId, bTemp );
}