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

New commits:
commit e61465d25f5e52bf439db65ed7a641722637034a
Author: Bjoern Michaelsen <bjoern.michael...@canonical.com>
Date:   Mon Nov 9 20:46:38 2015 +0100

    another missing SolarMutex in Writer UNO
    
    Change-Id: Ia9451b3f6180f97fda6ff16c65b5fbfcd17b75ec

diff --git a/sw/source/core/unocore/unoframe.cxx 
b/sw/source/core/unocore/unoframe.cxx
index 3500551..28eb646 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -1260,8 +1260,11 @@ SwXFrame::SwXFrame(SwFrameFormat& rFrameFormat, 
FlyCntType eSet, const ::SfxItem
 
 SwXFrame::~SwXFrame()
 {
+    SolarMutexGuard aGuard;
     delete m_pCopySource;
     delete pProps;
+    if(GetRegisteredIn())
+        GetRegisteredIn()->Remove(this);
 }
 
 template<class Interface, class NameLookupIsHard>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to