summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-12-17 19:16:05 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-12-18 22:30:17 +0100
commitd28d85c1d21ad466ead022daf41b910181affe98 (patch)
tree92768613f5408910e6cbc2be2619095d6feb80fe /xmloff
parent646e6366581a9a42f90987f77a0a32bbb543ed10 (diff)
sw_redlinehide_4b: xmloff: destroy TextImportHelper before Model
nullpointer in ~XMLRedlineImportHelper in SwUiWriterTest::testThreadedException() Change-Id: Ic4a79ceffa831aced4db47836333a15a13773887 (cherry picked from commit 68d77adb2d8242588b416240e6f7d47940099aaa)
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlimp.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index d68a9debcfc2..556e39299454 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -431,6 +431,7 @@ void SvXMLImport::cleanup() throw ()
pStylesContext->Clear();
maContexts.pop();
}
+ mxTextImport.clear(); // XMLRedlineImportHelper needs model
DisposingModel();
}