Fix memory leak when using XMLPropertyHandler in sw xml filters.

Change-Id: I I I5ddab734595d97486f507f2a6b752b4f0a28087e
This commit is contained in:
Arnaud Versini 2012-05-12 13:59:24 +02:00
parent 27cf5f8140
commit bf05937365
2 changed files with 4 additions and 0 deletions

View file

@ -1110,6 +1110,8 @@ sal_Bool SvXMLExportItemMapper::QueryXMLValue(
rUnitConverter );
if( bOk )
aOut.append( sValue );
delete pWritingModeHandler;
}
}
break;

View file

@ -947,6 +947,8 @@ sal_Bool SvXMLImportItemMapper::PutXMLValue(
rUnitConverter );
if( bOk )
bOk = rItem.PutValue( aAny );
delete pWritingModeHandler;
}
}
break;