From d5630adf33cc7d30a657e789e2bf0978028e0c1f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 3 Aug 2017 11:39:22 +0200 Subject: loplugin:checkunusedparams in various Change-Id: I4f54940a9ebdcd47776b2a5f7bae6e49b633ee44 Reviewed-on: https://gerrit.libreoffice.org/40706 Tested-by: Jenkins Reviewed-by: Noel Grandin --- reportdesign/source/filter/xml/xmlfilter.cxx | 12 ++++-------- reportdesign/source/filter/xml/xmlfilter.hxx | 3 +-- 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'reportdesign/source') diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx index 7925036608fa..e4f629fe6a0a 100644 --- a/reportdesign/source/filter/xml/xmlfilter.cxx +++ b/reportdesign/source/filter/xml/xmlfilter.cxx @@ -115,10 +115,8 @@ void RptMLMasterStylesContext_Impl::EndElement() ErrCode ReadThroughComponent( const uno::Reference& xInputStream, const uno::Reference& xModelComponent, - const sal_Char* /*pStreamName*/, const uno::Reference & rContext, - const uno::Reference< XDocumentHandler >& _xFilter, - bool /*bEncrypted*/ ) + const uno::Reference< XDocumentHandler >& _xFilter ) { OSL_ENSURE(xInputStream.is(), "input stream missing"); OSL_ENSURE(xModelComponent.is(), "document missing"); @@ -255,10 +253,8 @@ ErrCode ReadThroughComponent( // read from the stream return ReadThroughComponent( xInputStream ,xModelComponent - ,pStreamName ,rxContext - ,xDocHandler - ,bEncrypted ); + ,xDocHandler ); } // TODO/LATER: better error handling @@ -642,7 +638,7 @@ SvXMLImportContext* ORptFilter::CreateContext( sal_uInt16 nPrefix, break; case XML_TOK_DOC_META: GetProgressBarHelper()->Increment( PROGRESS_BAR_STEP ); - pContext = CreateMetaContext( rLocalName,xAttrList ); + pContext = CreateMetaContext( rLocalName ); break; default: break; @@ -983,7 +979,7 @@ void ORptFilter::insertFunction(const css::uno::Reference< css::report::XFunctio m_aFunctions.insert(TGroupFunctionMap::value_type(_xFunction->getName(),_xFunction)); } -SvXMLImportContext* ORptFilter::CreateMetaContext(const OUString& rLocalName,const uno::Reference&) +SvXMLImportContext* ORptFilter::CreateMetaContext(const OUString& rLocalName) { SvXMLImportContext* pContext = nullptr; diff --git a/reportdesign/source/filter/xml/xmlfilter.hxx b/reportdesign/source/filter/xml/xmlfilter.hxx index 14d7db53d766..6969c56859ac 100644 --- a/reportdesign/source/filter/xml/xmlfilter.hxx +++ b/reportdesign/source/filter/xml/xmlfilter.hxx @@ -96,8 +96,7 @@ private: SvXMLImportContext* CreateStylesContext(const OUString& rLocalName, const Reference< XAttributeList>& xAttrList, bool bIsAutoStyle ); - SvXMLImportContext* CreateMetaContext(const OUString& rLocalName, - const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ); + SvXMLImportContext* CreateMetaContext(const OUString& rLocalName); SvXMLImportContext* CreateFontDeclsContext(const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ); protected: -- cgit