summaryrefslogtreecommitdiff
path: root/sfx2/source/view
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-08-22 12:05:18 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-08-22 14:02:31 +0900
commit43b989808142f49347929311347f9402f4c06368 (patch)
tree76bab7f85f12dbc4452f9c0b330d1ed2b7da82f4 /sfx2/source/view
parent92d18638045a1f8ebcb36d8a9f0a9fb8c481e50b (diff)
sal_Bool to bool
Change-Id: I4ab448a461a9fe37ba18838357d371f71b0a496c
Diffstat (limited to 'sfx2/source/view')
-rw-r--r--sfx2/source/view/sfxbasecontroller.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx
index 93c217d9d007..8783d61d6814 100644
--- a/sfx2/source/view/sfxbasecontroller.cxx
+++ b/sfx2/source/view/sfxbasecontroller.cxx
@@ -111,7 +111,7 @@ struct GroupIDToCommandGroup
// Please update when a new command group is added
const sal_Int16 MAX_COMMANDGROUP = frame::CommandGroup::CONTROLS;
-static sal_Bool bGroupIDMapInitialized = sal_False;
+static bool bGroupIDMapInitialized = false;
static GroupIDToCommandGroup GroupIDCommandGroupMap[] =
{
{ GID_INTERN , frame::CommandGroup::INTERNAL },
@@ -160,7 +160,7 @@ sal_Int16 MapGroupIDToCommandGroup( sal_Int16 nGroupID )
GroupIDCommandGroupMap[i].nCommandGroup ));
++i;
}
- bGroupIDMapInitialized = sal_True;
+ bGroupIDMapInitialized = true;
}
GroupHashMap::const_iterator pIter = mHashMap.find( nGroupID );
@@ -281,7 +281,7 @@ void SAL_CALL SfxStatusIndicator::setValue( sal_Int32 nValue ) throw(RuntimeExce
if ( xProgress.is() )
xProgress->setValue( nValue );
- sal_Bool bReschedule = (( Get10ThSec() - _nStartTime ) > TIMEOUT_START_RESCHEDULE );
+ bool bReschedule = (( Get10ThSec() - _nStartTime ) > TIMEOUT_START_RESCHEDULE );
if ( bReschedule )
reschedule();
}
@@ -400,7 +400,7 @@ struct IMPL_SfxBaseController_DataContainer
Reference< XStatusIndicator > m_xIndicator ;
SfxViewShell* m_pViewShell ;
SfxBaseController* m_pController ;
- sal_Bool m_bDisposing ;
+ bool m_bDisposing ;
sal_Bool m_bSuspendState ;
Reference< XTitle > m_xTitleHelper ;
Sequence< PropertyValue > m_aCreationArgs ;
@@ -415,7 +415,7 @@ struct IMPL_SfxBaseController_DataContainer
, m_aInterceptorContainer ( aMutex )
, m_pViewShell ( pViewShell )
, m_pController ( pController )
- , m_bDisposing ( sal_False )
+ , m_bDisposing ( false )
, m_bSuspendState ( sal_False )
{
}
@@ -631,7 +631,7 @@ sal_Bool SAL_CALL SfxBaseController::suspend( sal_Bool bSuspend ) throw( Runtime
// More Views on the same document?
SfxObjectShell* pDocShell = m_pData->m_pViewShell->GetObjectShell() ;
- sal_Bool bOther = sal_False ;
+ bool bOther = false ;
for ( const SfxViewFrame* pFrame = SfxViewFrame::GetFirst( pDocShell ); !bOther && pFrame; pFrame = SfxViewFrame::GetNext( *pFrame, pDocShell ) )
bOther = (pFrame != pActFrame);
@@ -974,7 +974,7 @@ void SAL_CALL SfxBaseController::dispose() throw( RuntimeException )
{
SolarMutexGuard aGuard;
Reference< XController > xTmp( this );
- m_pData->m_bDisposing = sal_True ;
+ m_pData->m_bDisposing = true ;
lang::EventObject aEventObject;
aEventObject.Source = *this ;