summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-10-27 12:05:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-10-27 13:39:53 +0200
commiteeaac9cfdea6d8660ac72e63df3c9a1b8623db7c (patch)
treec0266eb1889ead4900ab50f2dbe96f1c20f85b49 /tools
parentfe13e1a4e6350c9a1f79bab4cb5845e7864df7e1 (diff)
rational_ReduceInaccurate unnecessary here
as pointed out by mike kaganski, since we are already dealing with 32-bit values Change-Id: Ic621757f2d9a689e54c47f36cc6ba85a322c500e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141904 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/fract.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx
index b6ae743764df..8c8b91d0f857 100644
--- a/tools/source/generic/fract.cxx
+++ b/tools/source/generic/fract.cxx
@@ -519,7 +519,6 @@ Fraction Fraction::MakeFraction( tools::Long nN1, tools::Long nN2, tools::Long n
bFail = checked_multiply_by(a, b);
}
- rational_ReduceInaccurate(a, /*nSignificantBits*/32);
return Fraction(a.numerator(), a.denominator());
}