summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoredlines.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-13 01:44:10 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-25 19:56:03 -0500
commit2c66250f058edf94769d59e47d9b38230750eeee (patch)
treea9f6d1513e114a7c637beb541753380b96342120 /sw/source/core/unocore/unoredlines.cxx
parent46dd655622b0a978aa2dbccaf19828fd1cedb420 (diff)
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'sw/source/core/unocore/unoredlines.cxx')
-rw-r--r--sw/source/core/unocore/unoredlines.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/unocore/unoredlines.cxx b/sw/source/core/unocore/unoredlines.cxx
index f2abbc14869a..42a08ada6d8a 100644
--- a/sw/source/core/unocore/unoredlines.cxx
+++ b/sw/source/core/unocore/unoredlines.cxx
@@ -59,7 +59,7 @@ SwXRedlines::~SwXRedlines()
sal_Int32 SwXRedlines::getCount( ) throw(uno::RuntimeException)
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
if(!IsValid())
throw uno::RuntimeException();
const SwRedlineTbl& rRedTbl = GetDoc()->GetRedlineTbl();
@@ -69,7 +69,7 @@ sal_Int32 SwXRedlines::getCount( ) throw(uno::RuntimeException)
uno::Any SwXRedlines::getByIndex(sal_Int32 nIndex)
throw( lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException )
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
if(!IsValid())
throw uno::RuntimeException();
const SwRedlineTbl& rRedTbl = GetDoc()->GetRedlineTbl();
@@ -87,7 +87,7 @@ uno::Any SwXRedlines::getByIndex(sal_Int32 nIndex)
uno::Reference< container::XEnumeration > SwXRedlines::createEnumeration(void)
throw( uno::RuntimeException )
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
if(!IsValid())
throw uno::RuntimeException();
return uno::Reference< container::XEnumeration >(new SwXRedlineEnumeration(*GetDoc()));
@@ -100,7 +100,7 @@ uno::Type SwXRedlines::getElementType( ) throw(uno::RuntimeException)
sal_Bool SwXRedlines::hasElements( ) throw(uno::RuntimeException)
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
if(!IsValid())
throw uno::RuntimeException();
const SwRedlineTbl& rRedTbl = GetDoc()->GetRedlineTbl();