diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-03 14:08:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-04 07:17:23 +0100 |
commit | 21e0d8162a0e683558c4d042ce688fc9a6833809 (patch) | |
tree | 8c93a0158d7669b1e92a43c65b6b4a7a7eeca685 /include/svx | |
parent | 5de151f0fd7b590ae13560086b46ea84e4d9cf9c (diff) |
loplugin:unusedfields
fix the ReturnStmt check
Change-Id: I95076076bd1313d23798c4615ea12910c86ed9a8
Reviewed-on: https://gerrit.libreoffice.org/47309
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/deflt3d.hxx | 7 | ||||
-rw-r--r-- | include/svx/obj3d.hxx | 3 | ||||
-rw-r--r-- | include/svx/polygn3d.hxx | 4 |
3 files changed, 2 insertions, 12 deletions
diff --git a/include/svx/deflt3d.hxx b/include/svx/deflt3d.hxx index d4d083287c87..e69a62a1625e 100644 --- a/include/svx/deflt3d.hxx +++ b/include/svx/deflt3d.hxx @@ -34,9 +34,6 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC E3dDefaultAttributes { private: - // Compound object - Color aDefaultAmbientColor; - // Cube object basegfx::B3DPoint aDefaultCubePos; basegfx::B3DVector aDefaultCubeSize; @@ -67,10 +64,6 @@ public: // Reset to defaults void Reset(); - // Getter/Setter for default values of all 3D objects - // Compound object - const Color& GetDefaultAmbientColor() { return aDefaultAmbientColor; } - // Cube object const basegfx::B3DPoint& GetDefaultCubePos() { return aDefaultCubePos; } const basegfx::B3DVector& GetDefaultCubeSize() { return aDefaultCubeSize; } diff --git a/include/svx/obj3d.hxx b/include/svx/obj3d.hxx index 36da39e1e2a4..8f664c815a60 100644 --- a/include/svx/obj3d.hxx +++ b/include/svx/obj3d.hxx @@ -227,7 +227,7 @@ protected: Color aMaterialAmbientColor; protected: - void SetDefaultAttributes(E3dDefaultAttributes& rDefault); + void SetDefaultAttributes(); // convert given basegfx::B3DPolyPolygon to screen coor basegfx::B2DPolyPolygon TransformToScreenCoor(const basegfx::B3DPolyPolygon& rCandidate); @@ -235,7 +235,6 @@ protected: public: E3dCompoundObject(); - E3dCompoundObject(E3dDefaultAttributes& rDefault); virtual ~E3dCompoundObject() override; virtual basegfx::B2DPolyPolygon TakeXorPoly() const override; diff --git a/include/svx/polygn3d.hxx b/include/svx/polygn3d.hxx index 345024d271fb..98778dd493e3 100644 --- a/include/svx/polygn3d.hxx +++ b/include/svx/polygn3d.hxx @@ -44,9 +44,7 @@ public: void SetPolyTexture2D(const basegfx::B2DPolyPolygon& rNewPolyPoly2D); - E3dPolygonObj( - E3dDefaultAttributes& rDefault, - const basegfx::B3DPolyPolygon& rPolyPoly3D); + E3dPolygonObj(const basegfx::B3DPolyPolygon& rPolyPoly3D); E3dPolygonObj(); virtual ~E3dPolygonObj() override; |