From 18f80da7a689ab962735c0f657497b8f1ed4d606 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 27 Jul 2017 15:55:38 +0200 Subject: loplugin:checkunusedparams more part2 Change-Id: Ibb940c2a7098313dfa282734894b1abc1ac40bc2 Reviewed-on: https://gerrit.libreoffice.org/40489 Tested-by: Jenkins Reviewed-by: Noel Grandin --- connectivity/source/drivers/file/fanalyzer.cxx | 3 +-- connectivity/source/drivers/file/fcomp.cxx | 2 +- connectivity/source/inc/file/fanalyzer.hxx | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/file/fanalyzer.cxx b/connectivity/source/drivers/file/fanalyzer.cxx index 4e7d5f16175d..2e457d5e222e 100644 --- a/connectivity/source/drivers/file/fanalyzer.cxx +++ b/connectivity/source/drivers/file/fanalyzer.cxx @@ -144,8 +144,7 @@ void OSQLAnalyzer::bindEvaluationRow(OValueRefRow const & _pRow) } OOperandAttr* OSQLAnalyzer::createOperandAttr(sal_Int32 _nPos, - const Reference< XPropertySet>& _xCol, - const Reference< XNameAccess>& /*_xIndexes*/) + const Reference< XPropertySet>& _xCol) { return new OOperandAttr(static_cast(_nPos),_xCol); } diff --git a/connectivity/source/drivers/file/fcomp.cxx b/connectivity/source/drivers/file/fcomp.cxx index 1853b8caeca7..d922a5293022 100644 --- a/connectivity/source/drivers/file/fcomp.cxx +++ b/connectivity/source/drivers/file/fcomp.cxx @@ -440,7 +440,7 @@ OOperand* OPredicateCompiler::execute_Operand(OSQLParseNode* pPredicateNode) { if (m_orgColumns->getByName(aColumnName) >>= xCol) { - pOperand = OSQLAnalyzer::createOperandAttr(Reference< XColumnLocate>(m_orgColumns,UNO_QUERY)->findColumn(aColumnName),xCol,m_xIndexes); + pOperand = OSQLAnalyzer::createOperandAttr(Reference< XColumnLocate>(m_orgColumns,UNO_QUERY)->findColumn(aColumnName),xCol); } else {// Column doesn't exist in the Result-set diff --git a/connectivity/source/inc/file/fanalyzer.hxx b/connectivity/source/inc/file/fanalyzer.hxx index b5a7af7bafb6..e1202fa736e8 100644 --- a/connectivity/source/inc/file/fanalyzer.hxx +++ b/connectivity/source/inc/file/fanalyzer.hxx @@ -76,8 +76,7 @@ namespace connectivity void setSelectionEvaluationResult(OValueRefRow const & _pRow,const std::vector& _rColumnMapping); void setOrigColumns(const css::uno::Reference< css::container::XNameAccess>& rCols); static OOperandAttr* createOperandAttr(sal_Int32 _nPos, - const css::uno::Reference< css::beans::XPropertySet>& _xCol, - const css::uno::Reference< css::container::XNameAccess>& _xIndexes); + const css::uno::Reference< css::beans::XPropertySet>& _xCol); }; } } -- cgit