summaryrefslogtreecommitdiff
path: root/sw/source/core/access/accheaderfooter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/access/accheaderfooter.cxx')
-rw-r--r--sw/source/core/access/accheaderfooter.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/access/accheaderfooter.cxx b/sw/source/core/access/accheaderfooter.cxx
index e12ac0ada51f..049b2a0cf32c 100644
--- a/sw/source/core/access/accheaderfooter.cxx
+++ b/sw/source/core/access/accheaderfooter.cxx
@@ -56,7 +56,7 @@ SwAccessibleHeaderFooter::SwAccessibleHeaderFooter(
const SwHeaderFrm* pHdFrm ) :
SwAccessibleContext( pInitMap, AccessibleRole::HEADER, pHdFrm )
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
OUString sArg( OUString::valueOf( (sal_Int32)pHdFrm->GetPhyPageNum() ) );
SetName( GetResource( STR_ACCESS_HEADER_NAME, &sArg ) );
@@ -67,7 +67,7 @@ SwAccessibleHeaderFooter::SwAccessibleHeaderFooter(
const SwFooterFrm* pFtFrm ) :
SwAccessibleContext( pInitMap, AccessibleRole::FOOTER, pFtFrm )
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
OUString sArg( OUString::valueOf( (sal_Int32)pFtFrm->GetPhyPageNum() ) );
SetName( GetResource( STR_ACCESS_FOOTER_NAME, &sArg ) );
@@ -80,7 +80,7 @@ SwAccessibleHeaderFooter::~SwAccessibleHeaderFooter()
OUString SAL_CALL SwAccessibleHeaderFooter::getAccessibleDescription (void)
throw (uno::RuntimeException)
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
CHECK_FOR_DEFUNC( XAccessibleContext )
@@ -132,7 +132,7 @@ Sequence< OUString > SAL_CALL SwAccessibleHeaderFooter::getSupportedServiceNames
Sequence< sal_Int8 > SAL_CALL SwAccessibleHeaderFooter::getImplementationId()
throw(RuntimeException)
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
static Sequence< sal_Int8 > aId( 16 );
static sal_Bool bInit = sal_False;
if(!bInit)