From a03df92a0ca6ae04cb99bb9ab678e31d82363879 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Tue, 8 Oct 2024 02:08:00 +0500 Subject: tdf#163344: improve Converter::convertDuration Let it use the same calculation as ImpSvNumberInputScan::GetTimeRef. Decreases rounding errors. Change-Id: I6474a1a5913d78c236adc511389c4abcebed2de6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174650 Tested-by: Jenkins Reviewed-by: Mike Kaganski (cherry picked from commit 9c9d2e21be06fa1c806c110812d6df783109d8b9) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174664 Reviewed-by: Xisco Fauli --- sc/qa/unit/data/functions/date_time/fods/time.fods | 169 +-------------------- 1 file changed, 5 insertions(+), 164 deletions(-) (limited to 'sc') diff --git a/sc/qa/unit/data/functions/date_time/fods/time.fods b/sc/qa/unit/data/functions/date_time/fods/time.fods index f2f2df5512a9..40e60f1271f0 100644 --- a/sc/qa/unit/data/functions/date_time/fods/time.fods +++ b/sc/qa/unit/data/functions/date_time/fods/time.fods @@ -748,9 +748,11 @@ - - - + + + + + 19 @@ -772,167 +774,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Age - - - - - - - - - - - - -- cgit