summaryrefslogtreecommitdiff
path: root/filter/source/flash
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-25 06:07:13 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:26:19 +0200
commitbec72dd34f8aa7419c6159bdf02c5ba34a6228a8 (patch)
tree32ebd14ed7c8d0dcfeebda1040dd785183f912ef /filter/source/flash
parentc476a84abd83873ff807ac5943d882b43f72c90c (diff)
remove unnecessary casts in calls to SvStream.WriteUChar
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I2ea4c7d97e745b3e6a3834f41ac7bfefa4883c7a
Diffstat (limited to 'filter/source/flash')
-rw-r--r--filter/source/flash/swfwriter2.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/filter/source/flash/swfwriter2.cxx b/filter/source/flash/swfwriter2.cxx
index b11512aacaa0..0e6110c96a60 100644
--- a/filter/source/flash/swfwriter2.cxx
+++ b/filter/source/flash/swfwriter2.cxx
@@ -153,20 +153,20 @@ void Tag::write( SvStream &out )
sal_uInt16 nCode = ( mnTagId << 6 ) | ( bLarge ? 0x3f : _uInt16(nSz) );
- out.WriteUChar( (sal_uInt8)nCode );
- out.WriteUChar( (sal_uInt8)(nCode >> 8) );
+ out.WriteUChar( nCode );
+ out.WriteUChar( (nCode >> 8) );
if( bLarge )
{
sal_uInt32 nTmp = nSz;
- out.WriteUChar( (sal_uInt8)nTmp );
+ out.WriteUChar( nTmp );
nTmp >>= 8;
- out.WriteUChar( (sal_uInt8)nTmp );
+ out.WriteUChar( nTmp );
nTmp >>= 8;
- out.WriteUChar( (sal_uInt8)nTmp );
+ out.WriteUChar( nTmp );
nTmp >>= 8;
- out.WriteUChar( (sal_uInt8)nTmp );
+ out.WriteUChar( nTmp );
}
}
@@ -198,15 +198,15 @@ void Tag::addI16( sal_Int16 nValue )
void Tag::addUI16( sal_uInt16 nValue )
{
- WriteUChar( (sal_uInt8)nValue );
- WriteUChar( (sal_uInt8)(nValue >> 8) );
+ WriteUChar( nValue );
+ WriteUChar( (nValue >> 8) );
}
void Tag::addUI8( sal_uInt8 nValue )
{
- WriteUChar( (sal_uInt8)nValue );
+ WriteUChar( nValue );
}