summaryrefslogtreecommitdiff
path: root/framework/source/fwe/classes/rootactiontriggercontainer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-04 15:53:21 +0200
committerNoel Grandin <noel@peralex.com>2014-04-07 13:53:49 +0200
commita6287e21f1dab6ae382c24ceeb4c0212b7cad2d7 (patch)
treef0bb68a88c56647fc9165ec69cc05cd5bc441ea6 /framework/source/fwe/classes/rootactiontriggercontainer.cxx
parentc2e98d3cc9e2642d746a9933fcd91230a7378aa1 (diff)
framework: sal_Bool->bool
Change-Id: Ia6e87e2b382bd4005637e14088bde9e809996a25
Diffstat (limited to 'framework/source/fwe/classes/rootactiontriggercontainer.cxx')
-rw-r--r--framework/source/fwe/classes/rootactiontriggercontainer.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/framework/source/fwe/classes/rootactiontriggercontainer.cxx b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
index 291afd10946c..fa408c64023a 100644
--- a/framework/source/fwe/classes/rootactiontriggercontainer.cxx
+++ b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
@@ -45,9 +45,9 @@ static Sequence< sal_Int8 > impl_getStaticIdentifier()
RootActionTriggerContainer::RootActionTriggerContainer( const Menu* pMenu, const OUString* pMenuIdentifier ) :
PropertySetContainer()
- , m_bContainerCreated( sal_False )
- , m_bContainerChanged( sal_False )
- , m_bInContainerCreation( sal_False )
+ , m_bContainerCreated( false )
+ , m_bContainerChanged( false )
+ , m_bInContainerCreation( false )
, m_pMenu( pMenu )
, m_pMenuIdentifier( pMenuIdentifier )
{
@@ -129,7 +129,7 @@ throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetExcept
FillContainer();
if ( !m_bInContainerCreation )
- m_bContainerChanged = sal_True;
+ m_bContainerChanged = true;
PropertySetContainer::insertByIndex( Index, Element );
}
@@ -142,7 +142,7 @@ throw ( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std
FillContainer();
if ( !m_bInContainerCreation )
- m_bContainerChanged = sal_True;
+ m_bContainerChanged = true;
PropertySetContainer::removeByIndex( Index );
}
@@ -156,7 +156,7 @@ throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetExcept
FillContainer();
if ( !m_bInContainerCreation )
- m_bContainerChanged = sal_True;
+ m_bContainerChanged = true;
PropertySetContainer::replaceByIndex( Index, Element );
}
@@ -284,13 +284,13 @@ Sequence< sal_Int8 > SAL_CALL RootActionTriggerContainer::getImplementationId()
// private implementation helper
void RootActionTriggerContainer::FillContainer()
{
- m_bContainerCreated = sal_True;
- m_bInContainerCreation = sal_True;
+ m_bContainerCreated = true;
+ m_bInContainerCreation = true;
Reference<XIndexContainer> xXIndexContainer( (OWeakObject *)this, UNO_QUERY );
ActionTriggerHelper::FillActionTriggerContainerFromMenu(
xXIndexContainer,
m_pMenu );
- m_bInContainerCreation = sal_False;
+ m_bInContainerCreation = false;
}
OUString RootActionTriggerContainer::getName() throw ( RuntimeException, std::exception )
{