diff options
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/objects/module.cxx | 4 | ||||
-rw-r--r-- | idl/source/objects/types.cxx | 2 | ||||
-rw-r--r-- | idl/source/prj/database.cxx | 2 |
3 files changed, 4 insertions, 4 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 ); } diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index 2916b660b0d3..e0a2d87a8de4 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -851,7 +851,7 @@ void SvMetaType::Save( SvPersistStream & rStm ) if( nMask & 0x0040 ) WriteSvIdentifier( rStm, aSbxName ); if( nMask & 0x0080 ) WriteSvIdentifier( rStm, aOdlName ); if( nMask & 0x0100 ) WriteSvDeclPersistList( rStm, *pAttrList ); - if( nMask & 0x0800 ) rStm.WriteUInt16( (sal_uInt16)nType ); + if( nMask & 0x0800 ) rStm.WriteUInt16( nType ); if( nMask & 0x1000 ) rStm.WriteChar( cParserChar ); if( nMask & 0x2000 ) WriteSvIdentifier( rStm, aCName ); if( nMask & 0x4000 ) WriteSvIdentifier( rStm, aBasicName ); diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index 3a775f614c84..ad185274017b 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -130,7 +130,7 @@ void SvIdlDataBase::Save( SvStream & rStm, sal_uInt32 nFlags ) aPStm.SetContextFlags( nFlags ); aPStm.WriteUInt32( (sal_uInt32)DATABASE_SIGNATURE ); - aPStm.WriteUInt16( (sal_uInt16)DATABASE_VER ); + aPStm.WriteUInt16( DATABASE_VER ); bool bOnlyStreamedObjs = false; if( nFlags & IDL_WRITE_CALLING ) |