summaryrefslogtreecommitdiff
path: root/rsc/source/res/rsccont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/res/rsccont.cxx')
-rw-r--r--rsc/source/res/rsccont.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/res/rsccont.cxx b/rsc/source/res/rsccont.cxx
index fbc36d4d9dc9..033ec345f380 100644
--- a/rsc/source/res/rsccont.cxx
+++ b/rsc/source/res/rsccont.cxx
@@ -534,8 +534,8 @@ bool RscBaseCont::IsConsistent( const RSCINST & rInst )
{
if( !bNoId )
{
- if( (sal_Int32)pClassData->pEntries[ i ].aName.GetNumber() > 0x7FFF ||
- (sal_Int32)pClassData->pEntries[ i ].aName.GetNumber() < 1 )
+ if( pClassData->pEntries[ i ].aName.GetNumber() > 0x7FFF ||
+ pClassData->pEntries[ i ].aName.GetNumber() < 1 )
{
bRet = false;
}