From 3dfc17ed6334c619228668ffeff591bc75d32025 Mon Sep 17 00:00:00 2001 From: Noel Grandin <noel.grandin@collabora.co.uk> Date: Tue, 28 Aug 2018 14:43:10 +0200 Subject: loplugin:constantparam (3) Change-Id: Ifc47bb8e096c9a8563021b2fcb44199577740746 Reviewed-on: https://gerrit.libreoffice.org/59747 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> --- svx/inc/sxmovitm.hxx | 4 ++-- svx/inc/sxroaitm.hxx | 2 +- svx/inc/sxrooitm.hxx | 2 +- svx/inc/sxsalitm.hxx | 4 ++-- svx/inc/sxsoitm.hxx | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'svx') diff --git a/svx/inc/sxmovitm.hxx b/svx/inc/sxmovitm.hxx index 03ee34ad82a4..ff8683b7fc52 100644 --- a/svx/inc/sxmovitm.hxx +++ b/svx/inc/sxmovitm.hxx @@ -24,7 +24,7 @@ class SdrMoveXItem: public SdrMetricItem { public: - SdrMoveXItem(long n=0): SdrMetricItem(SDRATTR_MOVEX,n) {} + SdrMoveXItem(): SdrMetricItem(SDRATTR_MOVEX,0) {} SfxPoolItem* Clone(SfxItemPool*) const override { return new SdrMoveXItem(*this); @@ -33,7 +33,7 @@ public: class SdrMoveYItem: public SdrMetricItem { public: - SdrMoveYItem(long n=0): SdrMetricItem(SDRATTR_MOVEY,n) {} + SdrMoveYItem(): SdrMetricItem(SDRATTR_MOVEY,0) {} SfxPoolItem* Clone(SfxItemPool*) const override { return new SdrMoveYItem(*this); diff --git a/svx/inc/sxroaitm.hxx b/svx/inc/sxroaitm.hxx index 15728629d1c0..4b1c249c25dd 100644 --- a/svx/inc/sxroaitm.hxx +++ b/svx/inc/sxroaitm.hxx @@ -24,7 +24,7 @@ class SdrRotateAllItem: public SdrAngleItem { public: - SdrRotateAllItem(long nAngle=0): SdrAngleItem(SDRATTR_ROTATEALL,nAngle) {} + SdrRotateAllItem(): SdrAngleItem(SDRATTR_ROTATEALL,0) {} virtual SfxPoolItem* Clone(SfxItemPool*) const override { return new SdrRotateAllItem(*this); diff --git a/svx/inc/sxrooitm.hxx b/svx/inc/sxrooitm.hxx index 2150d80f3198..20f0ba449c97 100644 --- a/svx/inc/sxrooitm.hxx +++ b/svx/inc/sxrooitm.hxx @@ -24,7 +24,7 @@ class SdrRotateOneItem: public SdrAngleItem { public: - SdrRotateOneItem(long nAngle=0): SdrAngleItem(SDRATTR_ROTATEONE,nAngle) {} + SdrRotateOneItem(): SdrAngleItem(SDRATTR_ROTATEONE,0) {} SfxPoolItem* Clone(SfxItemPool*) const override { return new SdrRotateOneItem(*this); diff --git a/svx/inc/sxsalitm.hxx b/svx/inc/sxsalitm.hxx index 14b88594bfb3..ccd4aee0eb97 100644 --- a/svx/inc/sxsalitm.hxx +++ b/svx/inc/sxsalitm.hxx @@ -24,7 +24,7 @@ class SdrHorzShearAllItem: public SdrAngleItem { public: - SdrHorzShearAllItem(long nAngle=0): SdrAngleItem(SDRATTR_HORZSHEARALL,nAngle) {} + SdrHorzShearAllItem(): SdrAngleItem(SDRATTR_HORZSHEARALL,0) {} virtual SfxPoolItem* Clone(SfxItemPool*) const override { return new SdrHorzShearAllItem(*this); @@ -33,7 +33,7 @@ public: class SdrVertShearAllItem: public SdrAngleItem { public: - SdrVertShearAllItem(long nAngle=0): SdrAngleItem(SDRATTR_VERTSHEARALL,nAngle) {} + SdrVertShearAllItem(): SdrAngleItem(SDRATTR_VERTSHEARALL,0) {} virtual SfxPoolItem* Clone(SfxItemPool*) const override { return new SdrVertShearAllItem(*this); diff --git a/svx/inc/sxsoitm.hxx b/svx/inc/sxsoitm.hxx index aa2be7641454..0d01cc7530a4 100644 --- a/svx/inc/sxsoitm.hxx +++ b/svx/inc/sxsoitm.hxx @@ -24,7 +24,7 @@ class SdrHorzShearOneItem: public SdrAngleItem { public: - SdrHorzShearOneItem(long nAngle=0): SdrAngleItem(SDRATTR_HORZSHEARONE,nAngle) {} + SdrHorzShearOneItem(): SdrAngleItem(SDRATTR_HORZSHEARONE,0) {} SfxPoolItem* Clone(SfxItemPool*) const override { return new SdrHorzShearOneItem(*this); @@ -33,7 +33,7 @@ public: class SdrVertShearOneItem: public SdrAngleItem { public: - SdrVertShearOneItem(long nAngle=0): SdrAngleItem(SDRATTR_VERTSHEARONE,nAngle) {} + SdrVertShearOneItem(): SdrAngleItem(SDRATTR_VERTSHEARONE,0) {} SfxPoolItem* Clone(SfxItemPool*) const override { return new SdrVertShearOneItem(*this); -- cgit