summaryrefslogtreecommitdiff
path: root/tools/source/generic/fract.cxx
diff options
context:
space:
mode:
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 0bfae055ac81..feee316a50e7 100644
--- a/tools/source/generic/fract.cxx
+++ b/tools/source/generic/fract.cxx
@@ -486,9 +486,9 @@ SvStream& ReadFraction( SvStream& rIStream, Fraction& rFract )
{
//fdo#39428 SvStream no longer supports operator>>(long&)
sal_Int32 nTmp(0);
- rIStream >> nTmp;
+ rIStream.ReadInt32( nTmp );
rFract.nNumerator = nTmp;
- rIStream >> nTmp;
+ rIStream.ReadInt32( nTmp );
rFract.nDenominator = nTmp;
return rIStream;
}