summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2015-02-20 09:54:01 +0100
committerEike Rathke <erack@redhat.com>2015-02-23 20:26:34 +0000
commitcc8a2d00387d554cd4d694503dd25fa8f950a78f (patch)
treeb0ad643d6a0252c7dd359a203c89c5e3533b8fb5 /chart2
parentd1f679cacb2e17c4aa94ae6b9f15011c9ec74b25 (diff)
tdf#88835 Calc: General format: 2 digits in exponent
Create 4 new formats enums rtl_math_StringFormat: rtl_math_StringFormat_E1, rtl_math_StringFormat_E2, rtl_math_StringFormat_G1, rtl_math_StringFormat_G2 to 1 or 2 digits in exponent for scientific notation. Set General format to use rtl_math_StringFormat_E2. Set trendline equation in status bar to use rtl_math_StringFormat_E1 Change-Id: I41466a6d4ba808ba5b9b38ba252b37c6b4560f12 Reviewed-on: https://gerrit.libreoffice.org/14562 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/inc/RegressionCalculationHelper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/inc/RegressionCalculationHelper.hxx b/chart2/source/inc/RegressionCalculationHelper.hxx
index 53fb9f032473..32456cf8dbb4 100644
--- a/chart2/source/inc/RegressionCalculationHelper.hxx
+++ b/chart2/source/inc/RegressionCalculationHelper.hxx
@@ -27,7 +27,7 @@
#include <vector>
#define NUMBER_TO_STR(number) (OStringToOUString(::rtl::math::doubleToString( \
- number, rtl_math_StringFormat_G, 4, '.', true ),RTL_TEXTENCODING_ASCII_US ))
+ number, rtl_math_StringFormat_G1, 4, '.', true ),RTL_TEXTENCODING_ASCII_US ))
#define UC_SPACE (sal_Unicode(' '))
#define UC_MINUS_SIGN (sal_Unicode('-'))
011-01-17 15:06:54 +0100'>2011-01-17removetooltypes01: #i112600# Remove tools types from swCarsten Driesner1-8/+8 2011-01-11Minor translations of comments for 3 files in writer/sw/incChristoph Herzog1-2/+1 2011-01-09Transl. German comments in sw/inc/IDocumentFieldsAccess.hxxChristoph Herzog1-48/+5 2010-11-15Comment translations, bogus comments, commented code removed from SW includesRobert Roth1