diff options
author | Eike Rathke <erack@redhat.com> | 2019-06-03 23:55:11 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2019-06-04 12:14:27 +0200 |
commit | 4e3e0c6744b3fc33c7f4da7bd48136b861e9ed58 (patch) | |
tree | 7bfc094a165e57c8894382e14e064d455ce83a3f /sc/inc | |
parent | a2554ac1f0173b0904032f4f8a70bb2231d0d934 (diff) |
Resolves: tdf#123752 allow group separator in formula values if possible
If possible here means if it can't be an operator (is not an ASCII
value) and is not any other separator. This restores the "working
by chance" behaviour for some locales that use NO-BREAK SPACE as
group separator. It never worked for locales that use one of the
"ordinary" comma or dot or apostrophe group separator and will
not.
Change-Id: I8b7ba1b502b6b7367ffb2199d2f3922ab605a659
Reviewed-on: https://gerrit.libreoffice.org/73422
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/compiler.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx index d2500a7e0440..b93afa3909d4 100644 --- a/sc/inc/compiler.hxx +++ b/sc/inc/compiler.hxx @@ -198,7 +198,8 @@ public: virtual css::i18n::ParseResult parseAnyToken( const OUString& rFormula, sal_Int32 nSrcPos, - const CharClass* pCharClass) const = 0; + const CharClass* pCharClass, + bool bGroupSeparator) const = 0; /** * Parse the symbol string and pick up the file name and the external |