From e5dd156a44625865684b5dfa90a95108259deb50 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 6 Apr 2016 12:19:57 +0200 Subject: loplugin:constantparam Change-Id: Ie690088d7a7d568703afd22f544628fc8012a7e1 --- svx/source/svdraw/svddrgv.cxx | 2 +- svx/source/svdraw/svdopath.cxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'svx/source/svdraw') diff --git a/svx/source/svdraw/svddrgv.cxx b/svx/source/svdraw/svddrgv.cxx index 950b0cc2426a..c9dbcfa436ae 100644 --- a/svx/source/svdraw/svddrgv.cxx +++ b/svx/source/svdraw/svddrgv.cxx @@ -657,7 +657,7 @@ bool SdrDragView::ImpBegInsObjPoint(bool bIdxZwang, sal_uInt32 nIdx, const Point if(bIdxZwang) { - mnInsPointNum = pMarkedPath->NbcInsPoint(nIdx, aPt, bNewObj, true); + mnInsPointNum = pMarkedPath->NbcInsPoint(nIdx, aPt, bNewObj); } else { diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx index 789c51f44de7..93cc4db67d04 100644 --- a/svx/source/svdraw/svdopath.cxx +++ b/svx/source/svdraw/svdopath.cxx @@ -2540,7 +2540,7 @@ sal_uInt32 SdrPathObj::NbcInsPointOld(const Point& rPos, bool bNewObj) if(bNewObj) { - nNewHdl = NbcInsPoint(0L, rPos, true, true/*bHideHim*/); + nNewHdl = NbcInsPoint(0L, rPos, true); } else { @@ -2559,14 +2559,14 @@ sal_uInt32 SdrPathObj::NbcInsPointOld(const Point& rPos, bool bNewObj) nPolyIndex += GetPathPoly().getB2DPolygon(a).count(); } - nNewHdl = NbcInsPoint(nPolyIndex, rPos, false, true/*bHideHim*/); + nNewHdl = NbcInsPoint(nPolyIndex, rPos, false); } ImpForceKind(); return nNewHdl; } -sal_uInt32 SdrPathObj::NbcInsPoint(sal_uInt32 /*nHdlNum*/, const Point& rPos, bool bNewObj, bool /*bHideHim*/) +sal_uInt32 SdrPathObj::NbcInsPoint(sal_uInt32 /*nHdlNum*/, const Point& rPos, bool bNewObj) { sal_uInt32 nNewHdl; -- cgit