diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-11 10:31:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-11 11:38:57 +0200 |
commit | f3120c0aa898eca9d28c75c037497dbf63effc2f (patch) | |
tree | 898ffee6037fa5879dce0db91937366831517c31 /include/connectivity | |
parent | f678b82f0e4dea47dfc8938f01442b6eb1ce23ad (diff) |
clang-tidy performance-unnecessary-value-param in connectivity
Change-Id: Ie84eeac24f22c5e3d3a4f63728a73023d626ccc0
Diffstat (limited to 'include/connectivity')
-rw-r--r-- | include/connectivity/CommonTools.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/connectivity/CommonTools.hxx b/include/connectivity/CommonTools.hxx index afd3e71d7d66..e9da889bfc64 100644 --- a/include/connectivity/CommonTools.hxx +++ b/include/connectivity/CommonTools.hxx @@ -110,16 +110,16 @@ namespace connectivity // search from first to last the column with the name _rVal // when no such column exist last is returned OOO_DLLPUBLIC_DBTOOLS - OSQLColumns::Vector::const_iterator find( OSQLColumns::Vector::const_iterator first, - OSQLColumns::Vector::const_iterator last, + OSQLColumns::Vector::const_iterator find( const OSQLColumns::Vector::const_iterator& first, + const OSQLColumns::Vector::const_iterator& last, const OUString& _rVal, const ::comphelper::UStringMixEqual& _rCase); // search from first to last the column with the realname _rVal // when no such column exist last is returned OOO_DLLPUBLIC_DBTOOLS - OSQLColumns::Vector::const_iterator findRealName( OSQLColumns::Vector::const_iterator first, - OSQLColumns::Vector::const_iterator last, + OSQLColumns::Vector::const_iterator findRealName( const OSQLColumns::Vector::const_iterator& first, + const OSQLColumns::Vector::const_iterator& last, const OUString& _rVal, const ::comphelper::UStringMixEqual& _rCase); @@ -128,7 +128,7 @@ namespace connectivity // when no such column exist last is returned OOO_DLLPUBLIC_DBTOOLS OSQLColumns::Vector::const_iterator find( OSQLColumns::Vector::const_iterator first, - OSQLColumns::Vector::const_iterator last, + const OSQLColumns::Vector::const_iterator& last, const OUString& _rProp, const OUString& _rVal, const ::comphelper::UStringMixEqual& _rCase); |