diff options
Diffstat (limited to 'rsc/source/tools/rsctree.cxx')
-rw-r--r-- | rsc/source/tools/rsctree.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/tools/rsctree.cxx b/rsc/source/tools/rsctree.cxx index 410b7bb58b46..6add08277267 100644 --- a/rsc/source/tools/rsctree.cxx +++ b/rsc/source/tools/rsctree.cxx @@ -331,9 +331,9 @@ IdNode * IdNode::Search( sal_uInt32 nTypeName ) const COMPARE IdNode::Compare( const NameNode * pSearch ) const { - if( GetId() < (sal_uInt32)(static_cast<const IdNode *>(pSearch)->GetId()) ) + if( GetId() < static_cast<const IdNode *>(pSearch)->GetId() ) return LESS; - else if( GetId() > (sal_uInt32)(static_cast<const IdNode *>(pSearch)->GetId()) ) + else if( GetId() > static_cast<const IdNode *>(pSearch)->GetId() ) return GREATER; else return EQUAL; |