summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-11-09 20:46:38 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-11-09 20:46:38 +0100
commite61465d25f5e52bf439db65ed7a641722637034a (patch)
tree0a8e43f08cfe938d41449fec2b54728b819f858a /sw/source/core/unocore
parentc20930bfec4ce4953ffdaff1971216290fab0e4d (diff)
another missing SolarMutex in Writer UNO
Change-Id: Ia9451b3f6180f97fda6ff16c65b5fbfcd17b75ec
Diffstat (limited to 'sw/source/core/unocore')
-rw-r--r--sw/source/core/unocore/unoframe.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index 35005510ce1e..28eb646c804c 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>