summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-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;