diff options
Diffstat (limited to 'xmloff/source/chart/SchXMLPlotAreaContext.cxx')
-rw-r--r-- | xmloff/source/chart/SchXMLPlotAreaContext.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx index b83998b708cc..5ea889aa7621 100644 --- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx +++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx @@ -621,15 +621,12 @@ SchXMLDataLabelContext::SchXMLDataLabelContext( SvXMLImport& rImport, const OUSt SvXMLImportContextRef SchXMLDataLabelContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const uno::Reference< xml::sax::XAttributeList >& xAttrList ) + const uno::Reference< xml::sax::XAttributeList >& /*xAttrList*/ ) { SvXMLImportContextRef xContext; if ( IsXMLToken( rLocalName, XML_P ) && nPrefix == XML_NAMESPACE_TEXT ) xContext = new SchXMLDataLabelParaContext(GetImport(), rLocalName, mrLabels); - if (!xContext) - xContext = SvXMLImportContext::CreateChildContext( nPrefix, rLocalName, xAttrList ); - return xContext; } |