summaryrefslogtreecommitdiff
path: root/idl
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 /idl
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 'idl')
-rw-r--r--idl/source/objects/bastype.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/objects/bastype.cxx b/idl/source/objects/bastype.cxx
index b24f79544d32..6619be682015 100644
--- a/idl/source/objects/bastype.cxx
+++ b/idl/source/objects/bastype.cxx
@@ -98,11 +98,11 @@ SvStream& WriteSvVersion(SvStream & rStm, const SvVersion & r )
int n = r.GetMajorVersion() << 4;
n |= r.GetMinorVersion();
- rStm.WriteUChar( (sal_uInt8)n );
+ rStm.WriteUChar( n );
}
else
{
- rStm.WriteUChar( (sal_uInt8)0 );
+ rStm.WriteUChar( 0 );
rStm.WriteUInt16( r.GetMajorVersion() );
rStm.WriteUInt16( r.GetMinorVersion() );
}