summaryrefslogtreecommitdiff
path: root/vcl/source/app/salvtables.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-06-06 14:12:38 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-06-06 17:52:32 +0200
commit9b03f778adfb87a10d781860930ed4d09410af9c (patch)
treeb5ee5c8e6b2a233d5152f5e706744e54acfc0edd /vcl/source/app/salvtables.cxx
parent41c248e066f454355dcceaa233ccf90f2adaee52 (diff)
Language list: sort generic language before country variants
In Edit Modules dialog, the language list may include entries added by LanguageTool, and among them are generic language-only entries like "Spanish {es}", stanfing for simple language tags like "es". These languages should go before country variants like "Spanish (Argentina)", but since "{" is sorted after "(", the order is the opposite. This change fixes this. Since other lists do not include generic language-only languages (filtered out by lcl_isPrerequisite and its requireSublang argument), this does not apply to them, but the code will execute nevertheless; hope that this UI-only performance hit will not be noticeable. Change-Id: I97adc1ae8feb4c8a94b567b33363d63d899cabaa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152676 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/source/app/salvtables.cxx')
0 files changed, 0 insertions, 0 deletions