[Libreoffice-commits] core.git: sw/source

Bjoern Michaelsen bjoern.michaelsen at canonical.com
Tue Nov 10 16:39:48 PST 2015


 sw/source/core/unocore/unotbl.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit f019f5d6fe05b15a83a7fea40d9448de2fabb00d
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date:   Wed Nov 11 01:22:24 2015 +0100

    another missing SolarMutex in Writer UNO: SwXCell
    
    Change-Id: I1c8413cd0b9baa7f38e452e94f33e29bc4cf6717

diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index d3f8f71..d42b1ab 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


More information about the Libreoffice-commits mailing list