summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdhdl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-29 13:37:14 +0200
committerNoel Grandin <noel@peralex.com>2016-03-01 08:30:27 +0200
commit595f46344e18fd6275ff7b862269e4c131449591 (patch)
tree0de2d2e300399b9aa9c0fea2dd6ca2155f8a231a /svx/source/svdraw/svdhdl.cxx
parent44e700f70d750cf1c6aac89d0dd07a4f57879b1b (diff)
loplugin:unuseddefaultparam in svx (part1)
Change-Id: I0fc8d00447491e8474508952c21d07aa22b6f055
Diffstat (limited to 'svx/source/svdraw/svdhdl.cxx')
-rw-r--r--svx/source/svdraw/svdhdl.cxx11
1 files changed, 2 insertions, 9 deletions
diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx
index 36340c67a252..3ff61f75a818 100644
--- a/svx/source/svdraw/svdhdl.cxx
+++ b/svx/source/svdraw/svdhdl.cxx
@@ -2171,18 +2171,11 @@ size_t SdrHdlList::GetHdlNum(const SdrHdl* pHdl) const
return it - aList.begin();
}
-void SdrHdlList::AddHdl(SdrHdl* pHdl, bool bAtBegin)
+void SdrHdlList::AddHdl(SdrHdl* pHdl)
{
if (pHdl!=nullptr)
{
- if (bAtBegin)
- {
- aList.push_front(pHdl);
- }
- else
- {
- aList.push_back(pHdl);
- }
+ aList.push_back(pHdl);
pHdl->SetHdlList(this);
}
}