summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdglue.cxx
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 /svx/source/svdraw/svdglue.cxx
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 'svx/source/svdraw/svdglue.cxx')
-rw-r--r--svx/source/svdraw/svdglue.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdglue.cxx b/svx/source/svdraw/svdglue.cxx
index 27f9f68afa25..0b73f7f65897 100644
--- a/svx/source/svdraw/svdglue.cxx
+++ b/svx/source/svdraw/svdglue.cxx
@@ -285,13 +285,14 @@ void SdrGluePointList::Clear()
aList.clear();
}
-void SdrGluePointList::operator=(const SdrGluePointList& rSrcList)
+SdrGluePointList& SdrGluePointList::operator=(const SdrGluePointList& rSrcList)
{
if (GetCount()!=0) Clear();
sal_uInt16 nCount=rSrcList.GetCount();
for (sal_uInt16 i=0; i<nCount; i++) {
Insert(rSrcList[i]);
}
+ return *this;
}
// The ID's of the glue points always increase monotonously!