diff options
author | Justin Luth <justin_luth@sil.org> | 2021-10-22 21:11:59 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2022-02-23 18:39:41 +0100 |
commit | e0b1f46149acfe989b8c89f3fddc04e7c22bf568 (patch) | |
tree | 745e1e170096f0ee60dcf0889dbdd71e00602bb1 /io | |
parent | f74e05d2a29f0656fee76a4d8508e7aff2806185 (diff) |
tdf#131025 ODF import: recognize SV_COUNTRY_LANGUAGE_OFFSET
File import was making an exception for "float value 0"
if the accompanying text had no resemblance to the value 0,
but that only applied to GENERAL number format.
It should apply to any language's default number format.
REGRESSION warning: as we can see, this has been handled
inconsistently in the past. But from the coding exception to overcome
losing text to a zero (and the huge number of duplicate bugs)
the best choice seems to be ignore the spec that says that
a number value overrides the text value - at least in
the case where the number value is zero.
Change-Id: I701e72c6a5dad42c7799ab501255a4859adf61d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124080
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 3e1d316734354c6b49696c8904e0fc431cfb5143)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124014
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
(cherry picked from commit d3b4ef0f7726ef1619717d9e3327963ceb4c065a)
(cherry picked from commit d9d7b17adf91c90a21a59250934e2e52e1133d81)
Diffstat (limited to 'io')
0 files changed, 0 insertions, 0 deletions