summaryrefslogtreecommitdiff
path: root/idl/inc/slot.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'idl/inc/slot.hxx')
-rw-r--r--idl/inc/slot.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idl/inc/slot.hxx b/idl/inc/slot.hxx
index 65ede6d3f969..db16bfd96062 100644
--- a/idl/inc/slot.hxx
+++ b/idl/inc/slot.hxx
@@ -169,7 +169,7 @@ protected:
public:
SV_DECL_META_FACTORY1( SvMetaSlot, SvMetaReference, 11 )
SvMetaObject * MakeClone() const;
- SvMetaSlot *Clone() const { return (SvMetaSlot *)MakeClone(); }
+ SvMetaSlot *Clone() const { return static_cast<SvMetaSlot *>(MakeClone()); }
SvMetaSlot();
SvMetaSlot( SvMetaType * pType );