summaryrefslogtreecommitdiff
path: root/extensions
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 /extensions
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 'extensions')
-rw-r--r--extensions/source/scanner/sane.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx
index 9762d838492b..711456cecea3 100644
--- a/extensions/source/scanner/sane.cxx
+++ b/extensions/source/scanner/sane.cxx
@@ -772,8 +772,8 @@ bool Sane::Start( BitmapTransporter& rBitmap )
aConverter.Seek( 54 );
// write color table
aConverter.WriteUInt16( (sal_uInt16)0xffff );
- aConverter.WriteUChar( (sal_uInt8)0xff );
- aConverter.WriteUChar( (sal_uInt8)0 );
+ aConverter.WriteUChar( 0xff );
+ aConverter.WriteUChar( 0 );
aConverter.WriteUInt32( (sal_uInt32)0 );
aConverter.Seek( 64 );
}
@@ -787,10 +787,10 @@ bool Sane::Start( BitmapTransporter& rBitmap )
// write color table
for( nLine = 0; nLine < 256; nLine++ )
{
- aConverter.WriteUChar( (sal_uInt8)nLine );
- aConverter.WriteUChar( (sal_uInt8)nLine );
- aConverter.WriteUChar( (sal_uInt8)nLine );
- aConverter.WriteUChar( (sal_uInt8)0 );
+ aConverter.WriteUChar( nLine );
+ aConverter.WriteUChar( nLine );
+ aConverter.WriteUChar( nLine );
+ aConverter.WriteUChar( 0 );
}
aConverter.Seek( 1084 );
}