[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - svl/source
Laurent Balland-Poirier
laurent.balland-poirier at laposte.net
Mon Aug 17 03:11:13 PDT 2015
svl/source/numbers/zformat.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0deb80469574d5a1090eb9c17f9a85ecd0fd34be
Author: Laurent Balland-Poirier <laurent.balland-poirier at laposte.net>
Date: Sat Aug 1 22:20:51 2015 +0200
tdf#93071 Remove trailing zeroes of scientific in General format
(cherry picked from commit a6fbbfd2f42f5361d53bd4b330a507d94d636923)
Change-Id: I408bab7edf58020fc1ec541dc940c84d387bb56c
Reviewed-on: https://gerrit.libreoffice.org/17769
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 91bba556..15f3f53 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -1969,7 +1969,7 @@ void lcl_GetOutputStringScientific(double fNumber, sal_uInt16 nCharCount,
nPrec = ::std::min(nPrec, static_cast<sal_uInt16>(14)); // limit to 14 decimals.
rOutString = ::rtl::math::doubleToUString(fNumber, rtl_math_StringFormat_E2,
- nPrec, rFormatter.GetNumDecimalSep()[0]);
+ nPrec, rFormatter.GetNumDecimalSep()[0], true );
}
sal_Int32 lcl_GetForcedDenominator(const ImpSvNumberformatInfo &rInfo, sal_uInt16 nAnz)
More information about the Libreoffice-commits
mailing list