summaryrefslogtreecommitdiff
path: root/sw/source/core/access/accnotextframe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/access/accnotextframe.cxx')
-rw-r--r--sw/source/core/access/accnotextframe.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/access/accnotextframe.cxx b/sw/source/core/access/accnotextframe.cxx
index d77c5b88c7cb..eca5093a68cc 100644
--- a/sw/source/core/access/accnotextframe.cxx
+++ b/sw/source/core/access/accnotextframe.cxx
@@ -177,7 +177,7 @@ void SwAccessibleNoTextFrame::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew)
void SwAccessibleNoTextFrame::Dispose( sal_Bool bRecursive )
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
if( aDepend.GetRegisteredIn() )
const_cast < SwModify *>( aDepend.GetRegisteredIn() )->Remove( &aDepend );
@@ -189,7 +189,7 @@ void SwAccessibleNoTextFrame::Dispose( sal_Bool bRecursive )
OUString SAL_CALL SwAccessibleNoTextFrame::getAccessibleName (void)
throw (uno::RuntimeException)
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
CHECK_FOR_DEFUNC( XAccessibleContext )
@@ -205,7 +205,7 @@ OUString SAL_CALL SwAccessibleNoTextFrame::getAccessibleName (void)
OUString SAL_CALL SwAccessibleNoTextFrame::getAccessibleDescription (void)
throw (uno::RuntimeException)
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
CHECK_FOR_DEFUNC( XAccessibleContext )