summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-04 11:23:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-04 12:14:56 +0200
commit97f391d4e5ed89425ca6c5ad52d159a7ce8fdee2 (patch)
treef9ac19fde17d7c25fc36e065f0b220f034ce7532 /include/svx
parent214e0847f5d1666b4cf23a833bb757f6bace04d0 (diff)
loplugin:checkunusedparams in svx(part1)
Change-Id: Ie98ec3be5ece2579feca050563c5ab7776ad6a7e Reviewed-on: https://gerrit.libreoffice.org/37227 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/scene3d.hxx5
-rw-r--r--include/svx/sdasitm.hxx2
-rw-r--r--include/svx/sphere3d.hxx3
3 files changed, 4 insertions, 6 deletions
diff --git a/include/svx/scene3d.hxx b/include/svx/scene3d.hxx
index 25a230089b79..83ecca16b1f5 100644
--- a/include/svx/scene3d.hxx
+++ b/include/svx/scene3d.hxx
@@ -83,13 +83,12 @@ protected:
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override;
protected:
- void SetDefaultAttributes(E3dDefaultAttributes& rDefault);
+ void SetDefaultAttributes();
void ImpCleanup3DDepthMapper();
public:
E3dScene();
- E3dScene(E3dDefaultAttributes& rDefault);
virtual ~E3dScene() override;
virtual void SetBoundRectDirty() override;
@@ -140,7 +139,7 @@ public:
virtual void SetTransform(const basegfx::B3DHomMatrix& rMatrix) override;
virtual void NbcRotate(const Point& rRef, long nAngle, double sn, double cs) override;
- void RotateScene(const Point& rRef, long nAngle, double sn, double cs);
+ void RotateScene(const Point& rRef, double sn, double cs);
// TakeObjName...() is for the display in the UI, for example "3 frames selected".
virtual OUString TakeObjNameSingul() const override;
diff --git a/include/svx/sdasitm.hxx b/include/svx/sdasitm.hxx
index 43a5f36c59b6..57e1e20d3adc 100644
--- a/include/svx/sdasitm.hxx
+++ b/include/svx/sdasitm.hxx
@@ -51,10 +51,8 @@ private:
public:
-
SdrCustomShapeGeometryItem();
SdrCustomShapeGeometryItem( const css::uno::Sequence< css::beans::PropertyValue >& );
- SdrCustomShapeGeometryItem( SvStream& rIn, sal_uInt16 nVersion );
virtual ~SdrCustomShapeGeometryItem() override;
virtual bool operator==( const SfxPoolItem& ) const override;
diff --git a/include/svx/sphere3d.hxx b/include/svx/sphere3d.hxx
index c0ba4bbf8ceb..c612080185bc 100644
--- a/include/svx/sphere3d.hxx
+++ b/include/svx/sphere3d.hxx
@@ -44,7 +44,8 @@ public:
// FG: This constructor is only called from MakeObject from the 3d-Objectfactory
// when a document with a sphere is loaded. This constructor does not call
// CreateSphere, or create any spheres.
- E3dSphereObj(int dummy);
+ enum Dummy { DUMMY };
+ E3dSphereObj(Dummy dummy);
// horizontal segments:
sal_uInt32 GetHorizontalSegments() const