sw/source/core/unocore/unoflatpara.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit c20930bfec4ce4953ffdaff1971216290fab0e4d Author: Bjoern Michaelsen <bjoern.michael...@canonical.com> Date: Mon Nov 9 19:55:13 2015 +0100 also fix SwXFlatParagraphIterator Change-Id: Ib35759c4d9e6ebc8e211d57d53d923f15ac9845a diff --git a/sw/source/core/unocore/unoflatpara.cxx b/sw/source/core/unocore/unoflatpara.cxx index 4628abc..62f77d8 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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits