summaryrefslogtreecommitdiff
path: root/include/svx/lathe3d.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-01 13:37:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-01 13:37:27 +0200
commitbebe30e917ebd3bd0ce43efca737caa478fddaee (patch)
tree1e0f3f4573ccd4d65d0e0264e8675f1e51463d63 /include/svx/lathe3d.hxx
parent407d23baceaf7014d24d631ad308c9defd4d44d0 (diff)
Consistency around SfxUInt32Item in svx/svx3ditems.hxx
...similar to what has been done for svx/sdtmfitm.hxx in 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I3193eab34a34c051002adeedd8b368e26f55f7a3
Diffstat (limited to 'include/svx/lathe3d.hxx')
-rw-r--r--include/svx/lathe3d.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/lathe3d.hxx b/include/svx/lathe3d.hxx
index 6eb38545b4fa..c1bbf1b711b1 100644
--- a/include/svx/lathe3d.hxx
+++ b/include/svx/lathe3d.hxx
@@ -52,11 +52,11 @@ private:
// HorizontalSegments:
sal_uInt32 GetHorizontalSegments() const
- { return ((const Svx3DHorizontalSegmentsItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_HORZ_SEGS)).GetValue(); }
+ { return ((const SfxUInt32Item&)GetObjectItemSet().Get(SDRATTR_3DOBJ_HORZ_SEGS)).GetValue(); }
// VerticalSegments:
sal_uInt32 GetVerticalSegments() const
- { return ((const Svx3DVerticalSegmentsItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_VERT_SEGS)).GetValue(); }
+ { return ((const SfxUInt32Item&)GetObjectItemSet().Get(SDRATTR_3DOBJ_VERT_SEGS)).GetValue(); }
// PercentDiagonal: 0..100, before 0.0..0.5
sal_uInt16 GetPercentDiagonal() const
@@ -68,7 +68,7 @@ private:
// EndAngle: 0..10000
sal_uInt32 GetEndAngle() const
- { return ((const Svx3DEndAngleItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_END_ANGLE)).GetValue(); }
+ { return ((const SfxUInt32Item&)GetObjectItemSet().Get(SDRATTR_3DOBJ_END_ANGLE)).GetValue(); }
// #107245# GetSmoothNormals() for bLatheSmoothed
bool GetSmoothNormals() const