summaryrefslogtreecommitdiff
path: root/include/svx/obj3d.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-01 14:46:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-01 14:46:50 +0200
commit9f6018bb64ae1da3a476f6bfca02e06b093f9e16 (patch)
tree8399d258de39c627564d6b6405bec4f8756dd197 /include/svx/obj3d.hxx
parentbebe30e917ebd3bd0ce43efca737caa478fddaee (diff)
Consistency around SfxBoolItem in svx/svx3ditems.hxx
...similar to what has been done for svx/sdtmfitm.hxx in 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I3253b4cc5657a7d6b960ee892584109d373eed3d
Diffstat (limited to 'include/svx/obj3d.hxx')
-rw-r--r--include/svx/obj3d.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/obj3d.hxx b/include/svx/obj3d.hxx
index 9e4ed03e0881..87b926f61cea 100644
--- a/include/svx/obj3d.hxx
+++ b/include/svx/obj3d.hxx
@@ -251,7 +251,7 @@ public :
// DoubleSided: sal_True/FALSE
bool GetDoubleSided() const
- { return ((const Svx3DDoubleSidedItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_DOUBLE_SIDED)).GetValue(); }
+ { return ((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
@@ -259,7 +259,7 @@ public :
// NormalsInvert: sal_True/FALSE
bool GetNormalsInvert() const
- { return ((const Svx3DNormalsInvertItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_NORMALS_INVERT)).GetValue(); }
+ { return ((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
@@ -271,7 +271,7 @@ public :
// Shadow3D: sal_True/FALSE
bool GetShadow3D() const
- { return ((const Svx3DShadow3DItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_SHADOW_3D)).GetValue(); }
+ { return ((const SfxBoolItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_SHADOW_3D)).GetValue(); }
// MaterialColor: Color
Color GetMaterialColor() const
@@ -291,7 +291,7 @@ public :
// TextureFilter: sal_True/FALSE
bool GetTextureFilter() const
- { return ((const Svx3DTextureFilterItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_FILTER)).GetValue(); }
+ { return ((const SfxBoolItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_FILTER)).GetValue(); }
// #i28528#
// Added extra Item (Bool) for chart2 to be able to show reduced line geometry