tools/source/generic/fract.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit eeaac9cfdea6d8660ac72e63df3c9a1b8623db7c
Author: Noel Grandin <[email protected]>
AuthorDate: Thu Oct 27 12:05:08 2022 +0200
Commit: Noel Grandin <[email protected]>
CommitDate: Thu Oct 27 13:39:53 2022 +0200
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 <[email protected]>
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());
}