diff options
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; |