diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-02 12:56:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-03 09:17:52 +0200 |
commit | 0523304875cf810acb1ff7caf9c9a2ec5d982b70 (patch) | |
tree | 741920994ba1fb097e162ecbf2c8c60929536bd8 /cui/source | |
parent | abc429987c6ce644658824fb20db113af855c8b2 (diff) |
svl: sal_Bool->bool
Change-Id: I6938314a08d061d2b07d9129742d74a989bd1385
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/dialogs/iconcdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 12 | ||||
-rw-r--r-- | cui/source/tabpages/page.cxx | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index e1aecea7aeca..4bdd7216539a 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -1106,7 +1106,7 @@ short IconChoiceDialog::Ok() if ( !pOutSet ) { if ( !pExampleSet && pSet ) - pOutSet = pSet->Clone( sal_False ); // without items + pOutSet = pSet->Clone( false ); // without items else if ( pExampleSet ) pOutSet = new SfxItemSet( *pExampleSet ); } diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index ffcc27828317..a85745a6d35a 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -295,7 +295,7 @@ void SvxSingleNumPickTabPage::Reset( const SfxItemSet& rSet ) if( eState != SFX_ITEM_SET ) { - pItem = &static_cast< const SvxNumBulletItem& >( rSet.Get( nNumItemId, sal_True ) ); + pItem = &static_cast< const SvxNumBulletItem& >( rSet.Get( nNumItemId, true ) ); eState = SFX_ITEM_SET; } } @@ -453,7 +453,7 @@ void SvxBulletPickTabPage::Reset( const SfxItemSet& rSet ) if( eState != SFX_ITEM_SET ) { - pItem = &static_cast< const SvxNumBulletItem& >( rSet.Get( nNumItemId, sal_True ) ); + pItem = &static_cast< const SvxNumBulletItem& >( rSet.Get( nNumItemId, true ) ); eState = SFX_ITEM_SET; } @@ -650,7 +650,7 @@ void SvxNumPickTabPage::Reset( const SfxItemSet& rSet ) if( eState != SFX_ITEM_SET ) { - pItem = &static_cast< const SvxNumBulletItem& >( rSet.Get( nNumItemId, sal_True ) ); + pItem = &static_cast< const SvxNumBulletItem& >( rSet.Get( nNumItemId, true ) ); eState = SFX_ITEM_SET; } @@ -897,7 +897,7 @@ void SvxBitmapPickTabPage::Reset( const SfxItemSet& rSet ) if( eState != SFX_ITEM_SET ) { - pItem = &static_cast< const SvxNumBulletItem& >( rSet.Get( nNumItemId, sal_True ) ); + pItem = &static_cast< const SvxNumBulletItem& >( rSet.Get( nNumItemId, true ) ); eState = SFX_ITEM_SET; } @@ -1218,7 +1218,7 @@ void SvxNumOptionsTabPage::Reset( const SfxItemSet& rSet ) if( eState != SFX_ITEM_SET ) { - pItem = &static_cast< const SvxNumBulletItem& >( rSet.Get( nNumItemId, sal_True ) ); + pItem = &static_cast< const SvxNumBulletItem& >( rSet.Get( nNumItemId, true ) ); eState = SFX_ITEM_SET; } @@ -2986,7 +2986,7 @@ void SvxNumPositionTabPage::Reset( const SfxItemSet& rSet ) if( eState != SFX_ITEM_SET ) { - pItem = &static_cast< const SvxNumBulletItem& >( rSet.Get( nNumItemId, sal_True ) ); + pItem = &static_cast< const SvxNumBulletItem& >( rSet.Get( nNumItemId, true ) ); eState = SFX_ITEM_SET; } diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx index 84bf61c6579b..06b3e8b64367 100644 --- a/cui/source/tabpages/page.cxx +++ b/cui/source/tabpages/page.cxx @@ -1184,7 +1184,7 @@ void SvxPageDescPage::ResetBackground_Impl( const SfxItemSet& rSet ) if ( rSet.GetItemState( nWhich, false ) == SFX_ITEM_SET ) { const SvxSetItem& rSetItem = - (const SvxSetItem&)rSet.Get( nWhich, sal_False ); + (const SvxSetItem&)rSet.Get( nWhich, false ); const SfxItemSet& rTmpSet = rSetItem.GetItemSet(); const SfxBoolItem& rOn = (const SfxBoolItem&)rTmpSet.Get( GetWhich( SID_ATTR_PAGE_ON ) ); @@ -1215,7 +1215,7 @@ void SvxPageDescPage::ResetBackground_Impl( const SfxItemSet& rSet ) if ( rSet.GetItemState( nWhich, false ) == SFX_ITEM_SET ) { const SvxSetItem& rSetItem = - (const SvxSetItem&)rSet.Get( nWhich, sal_False ); + (const SvxSetItem&)rSet.Get( nWhich, false ); const SfxItemSet& rTmpSet = rSetItem.GetItemSet(); const SfxBoolItem& rOn = (const SfxBoolItem&)rTmpSet.Get( GetWhich( SID_ATTR_PAGE_ON ) ); |