From bb5d638065590cba700ff46f5a0a1ffbe03b6f1a Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 8 Sep 2015 03:21:21 +0200 Subject: related tdf#93676, also fix chart::CommonFunctors::DoubleToOUString Change-Id: I8d63d942c7cb7876b864a9720e9a8adbc7345172 --- chart2/source/inc/CommonFunctors.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'chart2/source/inc/CommonFunctors.hxx') diff --git a/chart2/source/inc/CommonFunctors.hxx b/chart2/source/inc/CommonFunctors.hxx index fac5cd9d6a4c..d998069b93ae 100644 --- a/chart2/source/inc/CommonFunctors.hxx +++ b/chart2/source/inc/CommonFunctors.hxx @@ -127,8 +127,9 @@ struct OOO_DLLPUBLIC_CHARTTOOLS DoubleToOUString : public ::std::unary_function< return ::rtl::math::doubleToUString( fNumber, rtl_math_StringFormat_Automatic, - -1, // use maximum number of decimal places - static_cast< sal_Char >( '.' ) + rtl_math_DecimalPlaces_Max, // use maximum decimal places available + static_cast< sal_Char >( '.' ), + true ); } }; -- cgit