summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx')
-rw-r--r--xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx b/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx
index 5977ef57abea..13a31686424e 100644
--- a/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx
+++ b/xmloff/source/chart/SchXMLRegressionCurveObjectContext.cxx
@@ -88,7 +88,7 @@ void SchXMLRegressionCurveObjectContext::StartElement( const uno::Reference< xml
SvXMLImportContextRef SchXMLRegressionCurveObjectContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
- const uno::Reference< xml::sax::XAttributeList >& xAttrList )
+ const uno::Reference< xml::sax::XAttributeList >& /*xAttrList*/ )
{
SvXMLImportContextRef xContext;
@@ -97,10 +97,6 @@ SvXMLImportContextRef SchXMLRegressionCurveObjectContext::CreateChildContext(
xContext = new SchXMLEquationContext(
mrImportHelper, GetImport(), nPrefix, rLocalName, maChartSize, mrRegressionStyleVector.back());
}
- else
- {
- xContext = SvXMLImportContext::CreateChildContext( nPrefix, rLocalName, xAttrList );
- }
return xContext;
}