diff options
Diffstat (limited to 'xmloff/source/chart/SchXMLImport.cxx')
-rw-r--r-- | xmloff/source/chart/SchXMLImport.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmloff/source/chart/SchXMLImport.cxx b/xmloff/source/chart/SchXMLImport.cxx index d0cd1f99c33e..9f8a59e0fe52 100644 --- a/xmloff/source/chart/SchXMLImport.cxx +++ b/xmloff/source/chart/SchXMLImport.cxx @@ -86,7 +86,7 @@ SchXMLImportHelper::SchXMLImportHelper() : SvXMLImportContext* SchXMLImportHelper::CreateChartContext( SvXMLImport& rImport, - sal_uInt16 nPrefix, const OUString& rLocalName, + sal_uInt16 /*nPrefix*/, const OUString& rLocalName, const Reference< frame::XModel >& rChartModel, const Reference< xml::sax::XAttributeList >& ) { @@ -101,7 +101,6 @@ SvXMLImportContext* SchXMLImportHelper::CreateChartContext( else { SAL_WARN("xmloff.chart", "No valid XChartDocument given as XModel" ); - pContext = new SvXMLImportContext( rImport, nPrefix, rLocalName ); } return pContext; @@ -553,8 +552,7 @@ SvXMLImportContext *SchXMLImport::CreateFastContext( sal_Int32 nElement, } } break; - default: - pContext = new SvXMLImportContext( *this ); + default: break; } return pContext; } |