summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-16 15:12:13 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-17 08:08:22 +0000
commitc23757066d914ac04a39abcd72279c7c3d8919d5 (patch)
treee391a6f83a6e6ad89785e79cc39d0f503ed5fa53 /sd
parentf6a0ed20ba79c72788fa029fe99572e2d5a666e7 (diff)
loplugin:constantparam in svx
Change-Id: I50fa7e4c7525d2f8107a11d8203957a47680eb80 Reviewed-on: https://gerrit.libreoffice.org/23303 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/animations/motionpathtag.cxx2
-rw-r--r--sd/source/ui/dlg/sdtreelb.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx
index da3b0bfe3a06..7ba090ed5365 100644
--- a/sd/source/ui/animations/motionpathtag.cxx
+++ b/sd/source/ui/animations/motionpathtag.cxx
@@ -463,7 +463,7 @@ bool MotionPathTag::MouseButtonDown( const MouseEvent& rMEvt, SmartHdl& rHdl )
bool bClosed0(mpPathObj->IsClosedObj());
- sal_uInt32 nInsPointNum = mpPathObj->NbcInsPointOld(aPt, bNewObj, true);
+ sal_uInt32 nInsPointNum = mpPathObj->NbcInsPointOld(aPt, bNewObj);
if(bClosed0 != mpPathObj->IsClosedObj())
{
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx
index ccd9063ab755..726f13271794 100644
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -600,8 +600,7 @@ void SdPageObjsTLB::AddShapeList (
SdrObjListIter aIter(
rList,
!rList.HasObjectNavigationOrder() /* use navigation order, if available */,
- IM_FLAT,
- false /*not reverse*/);
+ IM_FLAT);
bool bMarked=false;
if(bisInSdNavigatorWin)