diff options
author | Eike Rathke <erack@redhat.com> | 2021-09-21 17:09:28 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2021-09-21 18:46:32 +0200 |
commit | e430d82ec56f34fb5ae45a50eb12cd03c7e40ba3 (patch) | |
tree | 9bcdf1e05333770ad082fd9b840cd864899f198f /config.sub | |
parent | 915d3eebc1dc4f18d7a1992db801ee8313ee46c0 (diff) |
SvNumberformat: preserve error position if already set
ImpSvNumberformatScan::ScanType() may already return an error
position in which case FinalScan() is not executed but
nResultStringsCnt is set only there and otherwise 0, so after
ScanFormat() force a different error position only if both are 0.
This in the dialog positions the error selection correctly instead
of after the first character.
Change-Id: Icb87b212fe8465da8f885514ffa3a3ecc7cd69a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122399
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions