summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-11-11 01:22:24 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-11-11 01:26:14 +0100
commitf019f5d6fe05b15a83a7fea40d9448de2fabb00d (patch)
tree1ea1f3a52514e3de7e08c765dd87495647d767e3
parent938cd22ae87d7098143a0e18e1e348479cdf69e9 (diff)
another missing SolarMutex in Writer UNO: SwXCell
Change-Id: I1c8413cd0b9baa7f38e452e94f33e29bc4cf6717
-rw-r--r--sw/source/core/unocore/unotbl.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index d3f8f718b43c..d42b1ab09a50 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -742,6 +742,9 @@ SwXCell::SwXCell(SwFrameFormat* pTableFormat, const SwStartNode& rStartNode) :
SwXCell::~SwXCell()
{
+ SolarMutexGuard aGuard;
+ if(GetRegisteredIn())
+ GetRegisteredIn()->Remove(this);
}
namespace