From 4c7686b7e1f4d012c00892f1cac1ae8a3298da5a Mon Sep 17 00:00:00 2001 From: László Németh Date: Wed, 15 May 2024 01:46:09 +0200 Subject: tdf#156792 sw Catalan AutoCorrect: no superscript ordinal indicator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- editeng/source/misc/svxacorr.cxx | 2 ++ 1 file changed, 2 insertions(+) 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)) { -- cgit