diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-09-08 03:21:21 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-09-08 03:21:21 +0200 |
commit | bb5d638065590cba700ff46f5a0a1ffbe03b6f1a (patch) | |
tree | 88ab8cd2dda49bc878ed4dc5165b1b980b4b45c6 /chart2 | |
parent | f7b8bab7f38b09aff2bce9b314492677c02a3034 (diff) |
related tdf#93676, also fix chart::CommonFunctors::DoubleToOUString
Change-Id: I8d63d942c7cb7876b864a9720e9a8adbc7345172
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/inc/CommonFunctors.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
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 ); } }; |