diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-19 15:30:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-29 12:50:34 +0200 |
commit | 6129aea3a5bad629a108363f3a7fbf135e796092 (patch) | |
tree | 63689027c36ef35d2bac083960246e865efcc1f8 /rsc/inc/rscclobj.hxx | |
parent | 26f2da07b1c6074e519d28557a3d1d5518ff6cb4 (diff) |
loplugin: cstylecast
Change-Id: I20eb45dda584c1c3a2e5d72425e49627fb7c3866
Diffstat (limited to 'rsc/inc/rscclobj.hxx')
-rw-r--r-- | rsc/inc/rscclobj.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/inc/rscclobj.hxx b/rsc/inc/rscclobj.hxx index 8cc515889976..a66959b3425f 100644 --- a/rsc/inc/rscclobj.hxx +++ b/rsc/inc/rscclobj.hxx @@ -42,7 +42,7 @@ public: sal_uLong GetFileKey(){ return lFileKey; }; ObjNode* Search( const RscId &rName ) const //< search the index in the b-tree { - return( (ObjNode *)IdNode::Search( rName ) ); + return( static_cast<ObjNode *>(IdNode::Search( rName )) ); } bool Insert( ObjNode* pTN ) //< insert a new node in the b-tree @@ -72,7 +72,7 @@ public: sal_uInt32 GetId() const SAL_OVERRIDE; RefNode* Search( Atom typ ) const //< search the index in the b-tree { - return( (RefNode *)IdNode::Search( typ ) ); + return( static_cast<RefNode *>(IdNode::Search( typ )) ); } bool Insert( RefNode* pTN ) //< insert a new node in the b-tree { |