diff options
Diffstat (limited to 'idl/source/objects/module.cxx')
-rw-r--r-- | idl/source/objects/module.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/objects/module.cxx b/idl/source/objects/module.cxx index 78ca274c3904..ebd369b42c89 100644 --- a/idl/source/objects/module.cxx +++ b/idl/source/objects/module.cxx @@ -75,7 +75,7 @@ void SvMetaModule::Save( SvPersistStream & rStm ) { SvMetaExtern::Save( rStm ); - rStm.WriteUInt16( (sal_uInt16)(MODULE_VER | IDL_WRITE_COMPILER) ); // Version + rStm.WriteUInt16( (MODULE_VER | IDL_WRITE_COMPILER) ); // Version WriteSvDeclPersistList( rStm, aClassList ); WriteSvDeclPersistList( rStm, aTypeList ); @@ -96,7 +96,7 @@ void SvMetaModule::Save( SvPersistStream & rStm ) // write length of compiler data sal_uLong nPos = rStm.Tell(); rStm.Seek( nLenPos ); - rStm.WriteUInt16( (sal_uInt16)( nPos - nLenPos - sizeof( sal_uInt16 ) ) ); + rStm.WriteUInt16( ( nPos - nLenPos - sizeof( sal_uInt16 ) ) ); rStm.Seek( nPos ); } |