diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-11-09 19:55:13 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-11-09 19:56:51 +0100 |
commit | c20930bfec4ce4953ffdaff1971216290fab0e4d (patch) | |
tree | 649411d5a1d208ba273159a2ec9d45e3b5daaf90 /sw | |
parent | df7f3c6733c1b4e4470554497f2c2aa96a442c30 (diff) |
also fix SwXFlatParagraphIterator
Change-Id: Ib35759c4d9e6ebc8e211d57d53d923f15ac9845a
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unoflatpara.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/unocore/unoflatpara.cxx b/sw/source/core/unocore/unoflatpara.cxx index 4628abc8763e..62f77d861c97 100644 --- a/sw/source/core/unocore/unoflatpara.cxx +++ b/sw/source/core/unocore/unoflatpara.cxx @@ -361,6 +361,9 @@ SwXFlatParagraphIterator::SwXFlatParagraphIterator( SwDoc& rDoc, sal_Int32 nType SwXFlatParagraphIterator::~SwXFlatParagraphIterator() { + SolarMutexGuard aGuard; + if(GetRegisteredIn()) + GetRegisteredIn()->Remove(this); } void SwXFlatParagraphIterator::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) |