Kaydet (Commit) bf059373 authored tarafından Arnaud Versini's avatar Arnaud Versini

Fix memory leak when using XMLPropertyHandler in sw xml filters.

Change-Id: I I I5ddab734595d97486f507f2a6b752b4f0a28087e
üst 27cf5f81
...@@ -1110,6 +1110,8 @@ sal_Bool SvXMLExportItemMapper::QueryXMLValue( ...@@ -1110,6 +1110,8 @@ sal_Bool SvXMLExportItemMapper::QueryXMLValue(
rUnitConverter ); rUnitConverter );
if( bOk ) if( bOk )
aOut.append( sValue ); aOut.append( sValue );
delete pWritingModeHandler;
} }
} }
break; break;
......
...@@ -947,6 +947,8 @@ sal_Bool SvXMLImportItemMapper::PutXMLValue( ...@@ -947,6 +947,8 @@ sal_Bool SvXMLImportItemMapper::PutXMLValue(
rUnitConverter ); rUnitConverter );
if( bOk ) if( bOk )
bOk = rItem.PutValue( aAny ); bOk = rItem.PutValue( aAny );
delete pWritingModeHandler;
} }
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment