diff options
author | László Németh <nemeth@numbertext.org> | 2024-05-15 01:46:09 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2024-05-15 10:32:41 +0200 |
commit | 4c7686b7e1f4d012c00892f1cac1ae8a3298da5a (patch) | |
tree | 25a91ea6e093e974b986f5f70ef69d5fb6ba2dde | |
parent | 7cc712eaa6757a461ac68532d77add2a49bd9181 (diff) |
tdf#156792 sw Catalan AutoCorrect: no superscript ordinal indicator
According to the orthography, disable superscript for the Catalan
ordinal indicators (only used for -a): 20a, 20è, 20ns, 20es.
Change-Id: I2a3cd17b51a29300e9cfcacdcf0cb123d225248a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167652
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 1597e523a766..4cc64f90a766 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -474,6 +474,8 @@ bool SvxAutoCorrect::FnChgOrdinalNumber( // In some languages ordinal suffixes should never be // changed to superscript. Let's break for those languages. if (!eLang.anyOf( + LANGUAGE_CATALAN, // tdf#156792 + LANGUAGE_CATALAN_VALENCIAN, LANGUAGE_SWEDISH, LANGUAGE_SWEDISH_FINLAND)) { |