summaryrefslogtreecommitdiff
path: root/include/svx/obj3d.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-16 09:49:37 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-16 12:18:39 +0000
commit1d852b32d7ad89b2317c04958060f366f8922ca4 (patch)
tree69720512c5675dfad89d00e1134b46faff5eb7b6 /include/svx/obj3d.hxx
parent383b75f4f516d6a5d256ffc08bc0e7836520447b (diff)
loplugin:unusedmethods svx
Change-Id: I92158457b3ffaaf7c84c6f4c87708d766c8c9f61 Reviewed-on: https://gerrit.libreoffice.org/17117 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svx/obj3d.hxx')
-rw-r--r--include/svx/obj3d.hxx57
1 files changed, 0 insertions, 57 deletions
diff --git a/include/svx/obj3d.hxx b/include/svx/obj3d.hxx
index 4a0d497acb0b..0f2dacb157fb 100644
--- a/include/svx/obj3d.hxx
+++ b/include/svx/obj3d.hxx
@@ -254,68 +254,11 @@ public :
virtual sal_uInt32 GetHdlCount() const SAL_OVERRIDE;
virtual void AddToHdlList(SdrHdlList& rHdlList) const SAL_OVERRIDE;
- // DoubleSided: sal_True/FALSE
- bool GetDoubleSided() const
- { return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_DOUBLE_SIDED)).GetValue(); }
-
- // NormalsKind: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
- sal_uInt16 GetNormalsKind() const
- { return static_cast<const Svx3DNormalsKindItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_NORMALS_KIND)).GetValue(); }
-
- // NormalsInvert: sal_True/FALSE
- bool GetNormalsInvert() const
- { return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_NORMALS_INVERT)).GetValue(); }
-
- // TextureProjX: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
- sal_uInt16 GetTextureProjectionX() const
- { return static_cast<const Svx3DTextureProjectionXItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_PROJ_X)).GetValue(); }
-
- // TextureProjY: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
- sal_uInt16 GetTextureProjectionY() const
- { return static_cast<const Svx3DTextureProjectionYItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_PROJ_Y)).GetValue(); }
-
- // Shadow3D: sal_True/FALSE
- bool GetShadow3D() const
- { return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_SHADOW_3D)).GetValue(); }
-
- // MaterialColor: Color
- Color GetMaterialColor() const
- { return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_MAT_COLOR)).GetValue(); }
-
- // MaterialEmission: Color
- Color GetMaterialEmission() const
- { return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_MAT_EMISSION)).GetValue(); }
-
- // MaterialSpecular: Color
- Color GetMaterialSpecular() const
- { return static_cast<const SvxColorItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_MAT_SPECULAR)).GetValue(); }
-
- // MaterialSpecularIntensity:
- sal_uInt16 GetMaterialSpecularIntensity() const
- { return static_cast<const SfxUInt16Item&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_MAT_SPECULAR_INTENSITY)).GetValue(); }
-
- // TextureFilter: sal_True/FALSE
- bool GetTextureFilter() const
- { return static_cast<const SfxBoolItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_FILTER)).GetValue(); }
-
- // #i28528#
- // Added extra Item (Bool) for chart2 to be able to show reduced line geometry
- bool GetReducedLineGeometry() const
- { return static_cast<const Svx3DReducedLineGeometryItem&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_REDUCED_LINE_GEOMETRY)).GetValue(); }
-
virtual sal_uInt16 GetObjIdentifier() const SAL_OVERRIDE;
virtual void RecalcSnapRect() SAL_OVERRIDE;
- // set/get parameters for geometry creation
- bool GetCreateNormals() const { return bCreateNormals; }
-
- bool GetCreateTexture() const { return bCreateTexture; }
-
virtual E3dCompoundObject* Clone() const SAL_OVERRIDE;
- // material of the object
- const Color& GetMaterialAmbientColor() const { return aMaterialAmbientColor; }
-
bool IsAOrdNumRemapCandidate(E3dScene*& prScene) const;
};