summaryrefslogtreecommitdiff
path: root/tools/source/generic/fract.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-25 05:27:36 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:25:40 +0200
commitd46b16e1e495c153f70633d2da5c2bb0aba85cc9 (patch)
tree79134004da6c8e06ef5d1a007c4d35340c463794 /tools/source/generic/fract.cxx
parent8f684e21de081350f0ce1f0bd0420f4775c5388d (diff)
remove unnecessary casts's
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I63f18be8e940098c2acbbc73ee49ede3a949fcb2
Diffstat (limited to 'tools/source/generic/fract.cxx')
-rw-r--r--tools/source/generic/fract.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx
index 897491d1f101..cfc68b12a583 100644
--- a/tools/source/generic/fract.cxx
+++ b/tools/source/generic/fract.cxx
@@ -498,8 +498,8 @@ SvStream& ReadFraction( SvStream& rIStream, Fraction& rFract )
SvStream& WriteFraction( SvStream& rOStream, const Fraction& rFract )
{
//fdo#39428 SvStream no longer supports operator<<(long)
- rOStream.WriteInt32( sal::static_int_cast<sal_Int32>(rFract.nNumerator) );
- rOStream.WriteInt32( sal::static_int_cast<sal_Int32>(rFract.nDenominator) );
+ rOStream.WriteInt32( rFract.nNumerator );
+ rOStream.WriteInt32( rFract.nDenominator );
return rOStream;
}