summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-01-22 12:29:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-01-22 21:59:27 +0100
commit69886ca4073bbe9f812a850ffc46b2da5858703c (patch)
tree24db70e0c2061a0321fb4148487fa7b7845d9b4e
parent28ff54f9bb0d3f96d7a6fd3cbf3fa590c9ef45d6 (diff)
ofz#5575 call cleanup while its still a SmXMLImport
Change-Id: Ib80010410bd729e2356fe63f96809dd35fb26a73 Reviewed-on: https://gerrit.libreoffice.org/48320 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--starmath/source/mathmlimport.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index b22cb0c5387b..f549cda0ad88 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -3034,6 +3034,7 @@ SvXMLImportContext *SmXMLImport::CreateActionContext(sal_uInt16 nPrefix,
SmXMLImport::~SmXMLImport() throw ()
{
+ cleanup();
}
void SmXMLImport::SetViewSettings(const Sequence<PropertyValue>& aViewProps)