LeakSanitizer: leak detected in ooo56669-1.odt

Change-Id: Ifdd98068762762316dbfd50fb465ed3c970f53d9
This commit is contained in:
Caolán McNamara 2015-01-11 16:26:23 +00:00
parent 623b38fa57
commit 5e6a4591d3

View file

@ -443,6 +443,7 @@ SvXMLImport::~SvXMLImport() throw ()
delete mpNamespaceMap;
delete mpUnitConv;
delete mpEventImportHelper;
delete mpFastContexts;
if( mpContexts )
{
while( !mpContexts->empty() )
@ -463,8 +464,7 @@ SvXMLImport::~SvXMLImport() throw ()
delete mpNumImport;
delete mpProgressBarHelper;
if( mpImpl )
delete mpImpl;
delete mpImpl;
if (mxEventListener.is() && mxModel.is())
mxModel->removeEventListener(mxEventListener);