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

New commits:
commit f019f5d6fe05b15a83a7fea40d9448de2fabb00d
Author: Bjoern Michaelsen <bjoern.michael...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to