[Libreoffice-commits] core.git: include/i18nutil

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Fri Sep 17 06:40:37 UTC 2021


 include/i18nutil/casefolding.hxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 388685ea72fc22bd375e9f31a339632e175f4290
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Sep 16 15:23:35 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Sep 17 08:39:58 2021 +0200

    improve comment
    
    Change-Id: I12a29b08f5807bcb6e0a5b6e8bc5fc0f08462e44
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122197
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/i18nutil/casefolding.hxx b/include/i18nutil/casefolding.hxx
index 65dfc2d515d2..b15a51ae8d04 100644
--- a/include/i18nutil/casefolding.hxx
+++ b/include/i18nutil/casefolding.hxx
@@ -37,7 +37,8 @@ enum class MappingType {
     ToTitle          = 0x10,  // to Title mapping
     SimpleFolding    = 0x20,  // Simple Case Folding
     FullFolding      = 0x40,  // Full Case Folding
-    CasedLetterMask  = LowerToUpper | UpperToLower | ToUpper | ToLower | ToTitle | SimpleFolding | FullFolding, // for final sigmar
+    // for final sigma (where the case-mapping is different for the last letter of a word)
+    CasedLetterMask  = LowerToUpper | UpperToLower | ToUpper | ToLower | ToTitle | SimpleFolding | FullFolding,
     NotValue         = 0x80,  // Value field is an address
 };
 namespace o3tl {


More information about the Libreoffice-commits mailing list