summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2022-06-20 17:13:53 +0200
committerEike Rathke <erack@redhat.com>2022-06-20 19:15:14 +0200
commit36cf12d449c892e6bbacb7da5f4b008f7762232b (patch)
tree73e935281f1d962bf6f34f9a5b806904eecfde59 /wizards
parenta1c6d24aac530d7374cf0fdc5c62570d86e30996 (diff)
Resolves: tdf#147265 Return correct default if currency format is duplicate
For the default currency format SvNumberFormatter::GetCurrencyFormatStrings() returned always the last added position, regardless whether that format was added or not, which it isn't if the format code is a duplicate. Let addToCurrencyFormatsList() return the position of the existing format if the duplicate was rejected and use that for default. Change-Id: I148d7379de75cae402b063f7b2f92947e345176f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136187 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'wizards')
0 files changed, 0 insertions, 0 deletions