[Libreoffice-commits] core.git: sw/source
Bjoern Michaelsen
bjoern.michaelsen at canonical.com
Mon Nov 9 11:10:07 PST 2015
sw/source/core/unocore/unoflatpara.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit c20930bfec4ce4953ffdaff1971216290fab0e4d
Author: Bjoern Michaelsen <bjoern.michaelsen at 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 )
More information about the Libreoffice-commits
mailing list