diff options
Diffstat (limited to 'tools/source/generic/fract.cxx')
-rw-r--r-- | tools/source/generic/fract.cxx | 4 |
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; } |