summaryrefslogtreecommitdiff
path: root/svx/inc/dragmt3d.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/inc/dragmt3d.hxx')
-rw-r--r--svx/inc/dragmt3d.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/inc/dragmt3d.hxx b/svx/inc/dragmt3d.hxx
index eb428c6cf3c3..65a0ee889f3c 100644
--- a/svx/inc/dragmt3d.hxx
+++ b/svx/inc/dragmt3d.hxx
@@ -76,7 +76,7 @@ public:
virtual void CancelSdrDrag() SAL_OVERRIDE;
virtual bool EndSdrDrag(bool bCopy) SAL_OVERRIDE;
- E3dView& Get3DView() { return (E3dView&)getSdrDragView(); }
+ E3dView& Get3DView() { return static_cast<E3dView&>(getSdrDragView()); }
// for migration from XOR to overlay
virtual void CreateOverlayGeometry(::sdr::overlay::OverlayManager& rOverlayManager) SAL_OVERRIDE;