summaryrefslogtreecommitdiff
path: root/include/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-05 09:46:12 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-06 06:48:38 +0000
commitf3d9aab8410c00298f29ca0194c5d33d53c63ff2 (patch)
tree370d24d49547d8eb2cdbcb293992d9b9a4a670ed /include/connectivity
parent654c98064d3fd2bd1e13ae2bda5f84e8d51d0071 (diff)
teach passstuffbyref plugin to check for..
unnecessarily passing primitives by const ref. Suggested by Tor Lillqvist Change-Id: I445e220542969ca3e252581e5953fb01cb2b2be6 Reviewed-on: https://gerrit.libreoffice.org/24672 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/connectivity')
-rw-r--r--include/connectivity/FValue.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/connectivity/FValue.hxx b/include/connectivity/FValue.hxx
index c78f3c76b8c5..a25989c21fe4 100644
--- a/include/connectivity/FValue.hxx
+++ b/include/connectivity/FValue.hxx
@@ -288,22 +288,22 @@ namespace connectivity
ORowSetValue& operator=(const ORowSetValue& _rRH);
// simple types
- ORowSetValue& operator=(const bool _rRH);
+ ORowSetValue& operator=(bool _rRH);
- ORowSetValue& operator=(const sal_Int8& _rRH);
- ORowSetValue& operator=(const sal_uInt8& _rRH);
+ ORowSetValue& operator=(sal_Int8 _rRH);
+ ORowSetValue& operator=(sal_uInt8 _rRH);
- ORowSetValue& operator=(const sal_Int16& _rRH);
- ORowSetValue& operator=(const sal_uInt16& _rRH);
+ ORowSetValue& operator=(sal_Int16 _rRH);
+ ORowSetValue& operator=(sal_uInt16 _rRH);
- ORowSetValue& operator=(const sal_Int32& _rRH);
- ORowSetValue& operator=(const sal_uInt32& _rRH);
+ ORowSetValue& operator=(sal_Int32 _rRH);
+ ORowSetValue& operator=(sal_uInt32 _rRH);
- ORowSetValue& operator=(const sal_Int64& _rRH);
- ORowSetValue& operator=(const sal_uInt64& _rRH);
+ ORowSetValue& operator=(sal_Int64 _rRH);
+ ORowSetValue& operator=(sal_uInt64 _rRH);
- ORowSetValue& operator=(const double& _rRH);
- ORowSetValue& operator=(const float& _rRH);
+ ORowSetValue& operator=(double _rRH);
+ ORowSetValue& operator=(float _rRH);
// ADT's
ORowSetValue& operator=(const css::util::Date& _rRH);