diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-24 11:13:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-24 11:13:42 +0100 |
commit | 146c7c5c89d9ce26c3de951ff049d36df1b5857b (patch) | |
tree | d66d72cb77002c96f528790f88012617243ccbf3 /toolkit/source/controls/roadmapcontrol.cxx | |
parent | 569756aaf4606313297eace88b3ad5a6f57d8329 (diff) |
toolkit: sal_Bool -> bool
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
Diffstat (limited to 'toolkit/source/controls/roadmapcontrol.cxx')
-rw-r--r-- | toolkit/source/controls/roadmapcontrol.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/toolkit/source/controls/roadmapcontrol.cxx b/toolkit/source/controls/roadmapcontrol.cxx index 38c20c01c77c..4cbf5fbe1626 100644 --- a/toolkit/source/controls/roadmapcontrol.cxx +++ b/toolkit/source/controls/roadmapcontrol.cxx @@ -88,10 +88,10 @@ static void lcl_throwIndexOutOfBoundsException( ) switch (nPropId) { case BASEPROPERTY_COMPLETE: - aReturn <<= (sal_Bool) sal_True; + aReturn <<= true; break; case BASEPROPERTY_ACTIVATED: - aReturn <<= (sal_Bool) sal_True; + aReturn <<= true; break; case BASEPROPERTY_CURRENTITEMID: aReturn <<= (sal_Int16) -1; @@ -186,7 +186,7 @@ static void lcl_throwIndexOutOfBoundsException( ) if ( !xRoadmapItem.is() ) lcl_throwIllegalArgumentException(); Reference< XServiceInfo > xServiceInfo( xRoadmapItem, UNO_QUERY ); - sal_Bool bIsRoadmapItem = xServiceInfo->supportsService("com.sun.star.awt.RoadmapItem"); + bool bIsRoadmapItem = xServiceInfo->supportsService("com.sun.star.awt.RoadmapItem"); if ( !bIsRoadmapItem ) lcl_throwIllegalArgumentException(); } @@ -217,13 +217,13 @@ static void lcl_throwIndexOutOfBoundsException( ) sal_Int32 UnoControlRoadmapModel::GetUniqueID() { Any aAny; - sal_Bool bIncrement = sal_True; + bool bIncrement = true; sal_Int32 CurID = 0; sal_Int32 n_CurItemID = 0; Reference< XInterface > CurRoadmapItem; while ( bIncrement ) { - bIncrement = sal_False; + bIncrement = false; for ( RoadmapItemHolderList::iterator i = maRoadmapItems.begin(); i < maRoadmapItems.end(); ++i ) { CurRoadmapItem = *i; @@ -232,7 +232,7 @@ static void lcl_throwIndexOutOfBoundsException( ) aAny >>= n_CurItemID; if (n_CurItemID == CurID) { - bIncrement = sal_True; + bIncrement = true; CurID++; break; } @@ -375,7 +375,7 @@ sal_Bool SAL_CALL UnoRoadmapControl::setModel(const Reference< XControlModel >& if ( xC.is() ) xC->removeContainerListener( this ); - sal_Bool bReturn = UnoControlBase::setModel( _rModel ); + bool bReturn = UnoControlBase::setModel( _rModel ); xC = xC.query( getModel()); if ( xC.is() ) |