summaryrefslogtreecommitdiff
path: root/framework/source/fwe/classes/rootactiontriggercontainer.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-18 14:24:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-18 15:27:06 +0100
commit36a5ea2a9c66f3cd6045e9f11b6e1b5f58858155 (patch)
tree48588fc40c4764d4d0472c2014c80a8aa7c6f57b /framework/source/fwe/classes/rootactiontriggercontainer.cxx
parent8b28069c8f31ead729dac462e477e19b738690a4 (diff)
Use SolarMutexGuard directly
Change-Id: Ia80e709bea172722aa07ee75ebeeef4ac8f5281a
Diffstat (limited to 'framework/source/fwe/classes/rootactiontriggercontainer.cxx')
-rw-r--r--framework/source/fwe/classes/rootactiontriggercontainer.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/source/fwe/classes/rootactiontriggercontainer.cxx b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
index 6670e76ce49a..1cbc63182a65 100644
--- a/framework/source/fwe/classes/rootactiontriggercontainer.cxx
+++ b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
@@ -126,7 +126,7 @@ throw ( RuntimeException, std::exception )
void SAL_CALL RootActionTriggerContainer::insertByIndex( sal_Int32 Index, const Any& Element )
throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception )
{
- Guard aGuard( m_aLock );
+ SolarMutexGuard g;
if ( !m_bContainerCreated )
FillContainer();
@@ -139,7 +139,7 @@ throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetExcept
void SAL_CALL RootActionTriggerContainer::removeByIndex( sal_Int32 Index )
throw ( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception )
{
- Guard aGuard( m_aLock );
+ SolarMutexGuard g;
if ( !m_bContainerCreated )
FillContainer();
@@ -153,7 +153,7 @@ throw ( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std
void SAL_CALL RootActionTriggerContainer::replaceByIndex( sal_Int32 Index, const Any& Element )
throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception )
{
- Guard aGuard( m_aLock );
+ SolarMutexGuard g;
if ( !m_bContainerCreated )
FillContainer();
@@ -167,7 +167,7 @@ throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetExcept
sal_Int32 SAL_CALL RootActionTriggerContainer::getCount()
throw ( RuntimeException, std::exception )
{
- Guard aGuard( m_aLock );
+ SolarMutexGuard g;
if ( !m_bContainerCreated )
{
@@ -188,7 +188,7 @@ throw ( RuntimeException, std::exception )
Any SAL_CALL RootActionTriggerContainer::getByIndex( sal_Int32 Index )
throw ( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception )
{
- Guard aGuard( m_aLock );
+ SolarMutexGuard g;
if ( !m_bContainerCreated )
FillContainer();