summaryrefslogtreecommitdiff
path: root/idl/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-26 15:49:58 +0200
committerNoel Grandin <noel@peralex.com>2014-09-29 12:50:36 +0200
commit65b69c44fca13de5bd5fe33eb9b607780ab4b75f (patch)
treecb68888d4d992e11da5b959e396a0f7530816527 /idl/inc
parenta2320eaf39e18cf8dc5469e83198f5478595aa51 (diff)
loplugin: cstylecast
Change-Id: I31bbeb5f068754d6dc77c22d759058089b03c9b1
Diffstat (limited to 'idl/inc')
-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 );