summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-04-01 22:12:24 +0200
committerMichael Stahl <mstahl@redhat.com>2015-04-01 22:24:13 +0200
commit744b16bd0dd030d823c4c798974d6344d2583773 (patch)
tree53ad11573ab636a7ae627085bfee179899eedc1b /sw
parentc41fe5e4a073e9403f5b9c366857dc7dfbc586cc (diff)
sw: remove pointless SolarMutexGuard in SwXTextMarkup::Modify
Change-Id: Ifb96e8194a29bee3a92e2a957f08a5c51584e565
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unotextmarkup.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unotextmarkup.cxx b/sw/source/core/unocore/unotextmarkup.cxx
index 597f4299a3a5..9a6984fb62ea 100644
--- a/sw/source/core/unocore/unotextmarkup.cxx
+++ b/sw/source/core/unocore/unotextmarkup.cxx
@@ -481,10 +481,11 @@ throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
void SwXTextMarkup::Impl::Modify( const SfxPoolItem* /*pOld*/, const SfxPoolItem* /*pNew*/ )
{
+ DBG_TESTSOLARMUTEX();
+
if ( GetRegisteredIn() )
GetRegisteredInNonConst()->Remove( this );
- SolarMutexGuard aGuard;
m_pTxtNode = 0;
}