Kaydet (Commit) f1fde869 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

Lsan: fix memory leak in xmlbodyi.cxx

Change-Id: I6274abc6ca3c4452c968d0b2bb775d29fbc8971f
üst 6b28f7d3
...@@ -235,8 +235,8 @@ void ScXMLBodyContext::EndElement() ...@@ -235,8 +235,8 @@ void ScXMLBodyContext::EndElement()
if (!bHadCalculationSettings) if (!bHadCalculationSettings)
{ {
// #111055#; set calculation settings defaults if there is no calculation settings element // #111055#; set calculation settings defaults if there is no calculation settings element
SvXMLImportContext *pContext = new ScXMLCalculationSettingsContext( GetScImport(), XML_NAMESPACE_TABLE, GetXMLToken(XML_CALCULATION_SETTINGS), NULL ); ScXMLCalculationSettingsContext aContext( GetScImport(), XML_NAMESPACE_TABLE, GetXMLToken(XML_CALCULATION_SETTINGS), NULL );
pContext->EndElement(); aContext.EndElement();
} }
ScXMLImport::MutexGuard aGuard(GetScImport()); ScXMLImport::MutexGuard aGuard(GetScImport());
......
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