diff options
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/filter/xml/xmlfilter.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx index 917dd5209411..69d4251fc337 100644 --- a/reportdesign/source/filter/xml/xmlfilter.cxx +++ b/reportdesign/source/filter/xml/xmlfilter.cxx @@ -727,7 +727,7 @@ public: SvXMLImportContext* ORptFilter::CreateDocumentContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const uno::Reference< xml::sax::XAttributeList >& xAttrList ) + const uno::Reference< xml::sax::XAttributeList >& /*xAttrList*/ ) { SvXMLImportContext *pContext = nullptr; @@ -744,13 +744,8 @@ SvXMLImportContext* ORptFilter::CreateDocumentContext( sal_uInt16 nPrefix, case XML_TOK_DOC_CONTENT: pContext = new RptXMLDocumentContentContext(*this, nPrefix, rLocalName); break; - default: - break; } - if ( !pContext ) - pContext = SvXMLImport::CreateDocumentContext( nPrefix, rLocalName, xAttrList ); - return pContext; } |