diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-03 11:39:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-03 13:13:17 +0200 |
commit | d5630adf33cc7d30a657e789e2bf0978028e0c1f (patch) | |
tree | 881a26b1980a617793f030028b0c8a69a8e672df /reportdesign/source | |
parent | 70d0425dd4fffd51170ccf0ca12a28870b0b7b1a (diff) |
loplugin:checkunusedparams in various
Change-Id: I4f54940a9ebdcd47776b2a5f7bae6e49b633ee44
Reviewed-on: https://gerrit.libreoffice.org/40706
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source')
-rw-r--r-- | reportdesign/source/filter/xml/xmlfilter.cxx | 12 | ||||
-rw-r--r-- | reportdesign/source/filter/xml/xmlfilter.hxx | 3 |
2 files changed, 5 insertions, 10 deletions
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>& xInputStream, const uno::Reference<XComponent>& xModelComponent, - const sal_Char* /*pStreamName*/, const uno::Reference<XComponentContext> & 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<xml::sax::XAttributeList>&) +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: |