summaryrefslogtreecommitdiff
path: root/include/svx/sphere3d.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/sphere3d.hxx')
-rw-r--r--include/svx/sphere3d.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/sphere3d.hxx b/include/svx/sphere3d.hxx
index 348fbc56b2f7..305260e64aae 100644
--- a/include/svx/sphere3d.hxx
+++ b/include/svx/sphere3d.hxx
@@ -49,11 +49,11 @@ public:
// horizontal segments:
sal_uInt32 GetHorizontalSegments() const
- { return ((const SfxUInt32Item&)GetObjectItemSet().Get(SDRATTR_3DOBJ_HORZ_SEGS)).GetValue(); }
+ { return static_cast<const SfxUInt32Item&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_HORZ_SEGS)).GetValue(); }
// VerticalSegments:
sal_uInt32 GetVerticalSegments() const
- { return ((const SfxUInt32Item&)GetObjectItemSet().Get(SDRATTR_3DOBJ_VERT_SEGS)).GetValue(); }
+ { return static_cast<const SfxUInt32Item&>(GetObjectItemSet().Get(SDRATTR_3DOBJ_VERT_SEGS)).GetValue(); }
virtual sal_uInt16 GetObjIdentifier() const SAL_OVERRIDE;
virtual SdrObject* DoConvertToPolyObj(bool bBezier, bool bAddText) const SAL_OVERRIDE;