summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unotextmarkup.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unotextmarkup.cxx')
-rw-r--r--sw/source/core/unocore/unotextmarkup.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/unocore/unotextmarkup.cxx b/sw/source/core/unocore/unotextmarkup.cxx
index 495baab958fa..7302c67055ea 100644
--- a/sw/source/core/unocore/unotextmarkup.cxx
+++ b/sw/source/core/unocore/unotextmarkup.cxx
@@ -59,7 +59,7 @@ SwXTextMarkup::~SwXTextMarkup()
uno::Reference< container::XStringKeyMap > SAL_CALL SwXTextMarkup::getMarkupInfoContainer() throw (uno::RuntimeException)
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
uno::Reference< container::XStringKeyMap > xProp = new SwXStringKeyMap;
return xProp;
@@ -73,7 +73,7 @@ void SAL_CALL SwXTextMarkup::commitTextMarkup(
const uno::Reference< container::XStringKeyMap > & xMarkupInfoContainer)
throw (uno::RuntimeException)
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
// paragraph already dead or modified?
if ( !mpTxtNode || nLength <= 0 )
@@ -332,7 +332,7 @@ void SAL_CALL SwXTextMarkup::commitMultiTextMarkup(
const uno::Sequence< text::TextMarkupDescriptor > &rMarkups )
throw (lang::IllegalArgumentException, uno::RuntimeException)
{
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
// paragraph already dead or modified?
if ( !mpTxtNode )
@@ -430,7 +430,7 @@ void SwXTextMarkup::Modify( SfxPoolItem* /*pOld*/, SfxPoolItem* /*pNew*/ )
pRegisteredIn->Remove( this );
// <--
- vos::OGuard aGuard(Application::GetSolarMutex());
+ SolarMutexGuard aGuard;
mpTxtNode = 0;
}