summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxbase.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-25 20:19:30 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:27:17 +0200
commit5cefde06ea9f4347b5d2747e0d2825c3c710aa83 (patch)
tree7f24ac5f1fe1749ea8c0135c73de80745b1c7508 /basic/source/sbx/sbxbase.cxx
parent04fd62096fca2c0b917ac6172104399e65933585 (diff)
remove unnecessary casts in calls to SvStream.WriteUInt32
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I1d848f19f82783e6eabf2da37dbde78fe36ea1e0
Diffstat (limited to 'basic/source/sbx/sbxbase.cxx')
-rw-r--r--basic/source/sbx/sbxbase.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx
index 7ec9c00edf9a..89cb73564f65 100644
--- a/basic/source/sbx/sbxbase.cxx
+++ b/basic/source/sbx/sbxbase.cxx
@@ -259,16 +259,16 @@ bool SbxBase::Store( SvStream& rStrm )
{
if( ( nFlags & SBX_DONTSTORE ) == SBX_NONE )
{
- rStrm.WriteUInt32( (sal_uInt32) GetCreator() )
+ rStrm.WriteUInt32( GetCreator() )
.WriteUInt16( GetSbxId() )
.WriteUInt16( GetFlags() )
.WriteUInt16( GetVersion() );
sal_Size nOldPos = rStrm.Tell();
- rStrm.WriteUInt32( (sal_uInt32) 0L );
+ rStrm.WriteUInt32( 0L );
bool bRes = StoreData( rStrm );
sal_Size nNewPos = rStrm.Tell();
rStrm.Seek( nOldPos );
- rStrm.WriteUInt32( (sal_uInt32) ( nNewPos - nOldPos ) );
+ rStrm.WriteUInt32( ( nNewPos - nOldPos ) );
rStrm.Seek( nNewPos );
if( rStrm.GetError() != SVSTREAM_OK )
bRes = false;
@@ -383,7 +383,7 @@ bool SbxInfo::StoreData( SvStream& rStrm ) const
RTL_TEXTENCODING_ASCII_US);
rStrm.WriteUInt16( i->eType )
.WriteUInt16( i->nFlags )
- .WriteUInt32( (sal_uInt32) i->nUserData );
+ .WriteUInt32( i->nUserData );
}
return true;
}