Fix memory leak when using XMLPropertyHandler in sw xml filters.
Change-Id: I I I5ddab734595d97486f507f2a6b752b4f0a28087e
This commit is contained in:
parent
27cf5f8140
commit
bf05937365
2 changed files with 4 additions and 0 deletions
|
@ -1110,6 +1110,8 @@ sal_Bool SvXMLExportItemMapper::QueryXMLValue(
|
|||
rUnitConverter );
|
||||
if( bOk )
|
||||
aOut.append( sValue );
|
||||
|
||||
delete pWritingModeHandler;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -947,6 +947,8 @@ sal_Bool SvXMLImportItemMapper::PutXMLValue(
|
|||
rUnitConverter );
|
||||
if( bOk )
|
||||
bOk = rItem.PutValue( aAny );
|
||||
|
||||
delete pWritingModeHandler;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue