coverity#1371368 Resource leak
Change-Id: I5c35b3eaa6e9afe10096bf5013f83ff51cb870a4
This commit is contained in:
parent
f20090c431
commit
9b181fa48f
@ -810,12 +810,13 @@ void XMLPropertiesOOoTContext_Impl::StartElement(
|
||||
XMLPersAttrListTContext *pSymbolImageContext = new XMLPersAttrListTContext(
|
||||
GetTransformer(), GetTransformer().GetNamespaceMap().GetQNameByKey(
|
||||
XML_NAMESPACE_CHART, GetXMLToken( XML_SYMBOL_IMAGE )));
|
||||
rtl::Reference<XMLTransformerContext> xSymbolImageContext(pSymbolImageContext);
|
||||
|
||||
OUString aAttrValue( sAttrValue );
|
||||
if( GetTransformer().ConvertURIToOASIS( aAttrValue, true ))
|
||||
{
|
||||
pSymbolImageContext->AddAttribute( XML_NAMESPACE_XLINK, XML_HREF, aAttrValue );
|
||||
pContext->AddContent( pSymbolImageContext );
|
||||
pContext->AddContent(xSymbolImageContext);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user