svl/source/numbers/zformat.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a6fbbfd2f42f5361d53bd4b330a507d94d636923
Author: Laurent Balland-Poirier <laurent.balland-poir...@laposte.net>
Date:   Sat Aug 1 22:20:51 2015 +0200

    tdf#93071 Remove trailing zeroes of scientific in General format
    
    Change-Id: I408bab7edf58020fc1ec541dc940c84d387bb56c
    Reviewed-on: https://gerrit.libreoffice.org/17466
    Reviewed-by: Eike Rathke <er...@redhat.com>
    Tested-by: Eike Rathke <er...@redhat.com>

diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 03c2078..e632c8f25 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -1986,7 +1986,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)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to