summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-19 12:47:50 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-20 07:55:30 +0000
commit8a2149c1059c70d67b4897e8a7751cf028a5136b (patch)
tree10d01599b5b5b2ea1d361c32d438cf47371f21ae /dbaccess/source
parent1b89a57aa5ac4faf59bc1e13eb1e0cad9933bacc (diff)
clang-tidy misc-assign-operator-signature
Change-Id: I2953a88d9e2f5923732865ef17615d5928ac5f5f Reviewed-on: https://gerrit.libreoffice.org/25154 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/inc/indexcollection.hxx2
-rw-r--r--dbaccess/source/ui/misc/indexcollection.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/inc/indexcollection.hxx b/dbaccess/source/ui/inc/indexcollection.hxx
index 7dbbae44ee5c..351f8e52c2c0 100644
--- a/dbaccess/source/ui/inc/indexcollection.hxx
+++ b/dbaccess/source/ui/inc/indexcollection.hxx
@@ -44,7 +44,7 @@ namespace dbaui
OIndexCollection(const OIndexCollection& _rSource);
// OIndexCollection(const css::uno::Reference< css::container::XNameAccess >& _rxIndexes);
- const OIndexCollection& operator=(const OIndexCollection& _rSource);
+ OIndexCollection& operator=(const OIndexCollection& _rSource);
// iterating through the collection
typedef OIndex* iterator;
diff --git a/dbaccess/source/ui/misc/indexcollection.cxx b/dbaccess/source/ui/misc/indexcollection.cxx
index 971a25fe0f29..b45dbd4df956 100644
--- a/dbaccess/source/ui/misc/indexcollection.cxx
+++ b/dbaccess/source/ui/misc/indexcollection.cxx
@@ -46,7 +46,7 @@ namespace dbaui
*this = _rSource;
}
- const OIndexCollection& OIndexCollection::operator=(const OIndexCollection& _rSource)
+ OIndexCollection& OIndexCollection::operator=(const OIndexCollection& _rSource)
{
detach();
m_xIndexes = _rSource.m_xIndexes;