diff options
author | Eike Rathke <erack@redhat.com> | 2017-10-27 15:27:07 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-10-27 18:29:44 +0200 |
commit | ca214981553eb21a4276d07c76db0c37c234a11c (patch) | |
tree | 4a013e2909410bb5918478e031685a35df30d571 /sc/inc | |
parent | Handle decimalSeparatorAlternative in ScCompiler, tdf#81671 (diff) | |
download | core-ca214981553eb21a4276d07c76db0c37c234a11c.tar.gz core-ca214981553eb21a4276d07c76db0c37c234a11c.zip |
Handle decimalSeparatorAlternative in ScColumn::ParseString(), tdf#81671
Change-Id: I9f708b28ee5fdb23217e75386a64ab86dacfd3c4
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/stringutil.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/stringutil.hxx b/sc/inc/stringutil.hxx index bf4c519ab014..b28867f7f361 100644 --- a/sc/inc/stringutil.hxx +++ b/sc/inc/stringutil.hxx @@ -122,12 +122,13 @@ public: * @param rStr string to parse * @param dsep decimal separator * @param gsep group separator (aka thousands separator) + * @param dsepa decimal separator alternative, usually 0 * @param rVal value of successfully parsed number * * @return true if the string is a valid number, false otherwise. */ static bool parseSimpleNumber( - const OUString& rStr, sal_Unicode dsep, sal_Unicode gsep, double& rVal); + const OUString& rStr, sal_Unicode dsep, sal_Unicode gsep, sal_Unicode dsepa, double& rVal); static bool parseSimpleNumber( const char* p, size_t n, char dsep, char gsep, double& rVal); |