diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2023-06-13 17:15:07 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2023-06-16 16:22:22 +0200 |
commit | 29f5742bc8ff36741baac5b71082b3daee70ac18 (patch) | |
tree | 40ddfdeae899a9893b8d09a901e779500c6d3ec3 /COPYING.LGPL | |
parent | 60086685c91dd5d356b492b34dac613a06639b3c (diff) |
tdf#125154 i18npool,sw: fix group separators in numbers in formulas
Commit 776f7e7463de3e97f3056712ee567f49a314829d changed cclass_Unicode
to reject group separators in numbers by default, but users are
complaining that the neat "5.000" numbers in their existing documents
are now considered invalid.
* in SwCalc, use GROUP_SEPARATOR_IN_NUMBER
* in cclass_Unicode::parseText(), reject a group separator if it is not
followed by at least 3 digits
With this, a number from tdf#42518 "0.19" is still considered invalid,
while "5.000" is now valid again.
Change-Id: If86f2ed4c27be16f866d7f4cee00789344e9ee2e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153047
Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'COPYING.LGPL')
0 files changed, 0 insertions, 0 deletions