diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-27 15:55:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-28 07:18:23 +0200 |
commit | 18f80da7a689ab962735c0f657497b8f1ed4d606 (patch) | |
tree | 0053645981775d0ed756f4e751c9626e492b5b94 /connectivity | |
parent | b32ead5dd27c6f2b760e4196ebe0378fb8ec1a69 (diff) |
loplugin:checkunusedparams more part2
Change-Id: Ibb940c2a7098313dfa282734894b1abc1ac40bc2
Reviewed-on: https://gerrit.libreoffice.org/40489
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/file/fanalyzer.cxx | 3 | ||||
-rw-r--r-- | connectivity/source/drivers/file/fcomp.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/inc/file/fanalyzer.hxx | 3 |
3 files changed, 3 insertions, 5 deletions
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<sal_uInt16>(_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<sal_Int32>& _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); }; } } |