summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdhlpln.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/svdhlpln.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/svdhlpln.cxx')
-rw-r--r--svx/source/svdraw/svdhlpln.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdhlpln.cxx b/svx/source/svdraw/svdhlpln.cxx
index 851016e8cc33..6b3313988024 100644
--- a/svx/source/svdraw/svdhlpln.cxx
+++ b/svx/source/svdraw/svdhlpln.cxx
@@ -82,13 +82,14 @@ void SdrHelpLineList::Clear()
aList.clear();
}
-void SdrHelpLineList::operator=(const SdrHelpLineList& rSrcList)
+SdrHelpLineList& SdrHelpLineList::operator=(const SdrHelpLineList& rSrcList)
{
Clear();
sal_uInt16 nCount=rSrcList.GetCount();
for (sal_uInt16 i=0; i<nCount; i++) {
Insert(rSrcList[i]);
}
+ return *this;
}
bool SdrHelpLineList::operator==(const SdrHelpLineList& rSrcList) const