summaryrefslogtreecommitdiff
path: root/sfx2/source/control
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/control')
-rw-r--r--sfx2/source/control/bindings.cxx4
-rw-r--r--sfx2/source/control/request.cxx2
-rw-r--r--sfx2/source/control/shell.cxx2
-rw-r--r--sfx2/source/control/statcach.cxx2
4 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index a847477a9903..233fe94d9a86 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -414,7 +414,7 @@ void SfxBindings::Update_Impl
const SfxFoundCache_Impl *pFound = aFound[nPos];
sal_uInt16 nWhich = pFound->nWhichId;
const SfxPoolItem *pItem = 0;
- SfxItemState eState = pSet->GetItemState(nWhich, sal_True, &pItem);
+ SfxItemState eState = pSet->GetItemState(nWhich, true, &pItem);
if ( eState == SFX_ITEM_DEFAULT && SfxItemPool::IsWhich(nWhich) )
pItem = &pSet->Get(nWhich);
UpdateControllers_Impl( pInterface, aFound[nPos], pItem, eState );
@@ -1222,7 +1222,7 @@ void SfxBindings::Execute_Impl( SfxRequest& aReq, const SfxSlot* pSlot, SfxShell
SfxStateFunc aFunc = pSlot->GetStateFnc();
pShell->CallState( aFunc, aSet );
const SfxPoolItem *pOldItem;
- SfxItemState eState = aSet.GetItemState(nWhich, sal_True, &pOldItem);
+ SfxItemState eState = aSet.GetItemState(nWhich, true, &pOldItem);
if ( eState == SFX_ITEM_DISABLED )
return;
diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx
index ccc8554033b7..6b453952cf20 100644
--- a/sfx2/source/control/request.cxx
+++ b/sfx2/source/control/request.cxx
@@ -707,7 +707,7 @@ void SfxRequest::Done_Impl
// get the property as SfxPoolItem
const SfxPoolItem *pItem;
sal_uInt16 nWhich = rPool.GetWhich(pImp->pSlot->GetSlotId());
- SfxItemState eState = pSet ? pSet->GetItemState( nWhich, sal_False, &pItem ) : SFX_ITEM_UNKNOWN;
+ SfxItemState eState = pSet ? pSet->GetItemState( nWhich, false, &pItem ) : SFX_ITEM_UNKNOWN;
#ifdef DBG_UTIL
if ( SFX_ITEM_SET != eState )
{
diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx
index 2b9c7f4e4673..84d0160ca358 100644
--- a/sfx2/source/control/shell.cxx
+++ b/sfx2/source/control/shell.cxx
@@ -921,7 +921,7 @@ const SfxPoolItem* SfxShell::GetSlotState
SfxStateFunc pFunc = pSlot->GetStateFnc();
if ( pFunc )
CallState( pFunc, aSet );
- eState = aSet.GetItemState( nSlotId, sal_True, &pItem );
+ eState = aSet.GetItemState( nSlotId, true, &pItem );
// get default Item if possible
if ( eState == SFX_ITEM_DEFAULT )
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx
index cb5df7946bac..1c3644205abb 100644
--- a/sfx2/source/control/statcach.cxx
+++ b/sfx2/source/control/statcach.cxx
@@ -376,7 +376,7 @@ void SfxStateCache::SetVisibleState( sal_Bool bShow )
}
else
{
- pState = new SfxVisibilityItem( nId, sal_False );
+ pState = new SfxVisibilityItem( nId, false );
bDeleteItem = sal_True;
}