diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-06 12:19:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-11 08:26:01 +0200 |
commit | e5dd156a44625865684b5dfa90a95108259deb50 (patch) | |
tree | bb0da749c95d7fb1929f2c7d8757a53e73720807 /svx/source/svdraw | |
parent | 4cbcec9ed4c51277b00c155a5fa097880c0dee4b (diff) |
loplugin:constantparam
Change-Id: Ie690088d7a7d568703afd22f544628fc8012a7e1
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r-- | svx/source/svdraw/svddrgv.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdopath.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
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; |