[Libreoffice-commits] core.git: i18npool/source

abdulmajeed ahmed aalabdulrazzaq at kacst.edu.sa
Mon Jun 24 01:16:36 PDT 2013


 i18npool/source/transliteration/ignoreDiacritics_CTL.cxx |   18 ++++++++-------
 1 file changed, 10 insertions(+), 8 deletions(-)

New commits:
commit 64245c108aec557f62c254486aa354382bd445ce
Author: abdulmajeed ahmed <aalabdulrazzaq at kacst.edu.sa>
Date:   Mon Jun 24 10:08:36 2013 +0200

    fdo#52204 add more diacritics for Arabic
    
    Change-Id: I916eb34b127699ea3251e92f4d7b705347ae5cba

diff --git a/i18npool/source/transliteration/ignoreDiacritics_CTL.cxx b/i18npool/source/transliteration/ignoreDiacritics_CTL.cxx
index f4de2c5..4486d45 100644
--- a/i18npool/source/transliteration/ignoreDiacritics_CTL.cxx
+++ b/i18npool/source/transliteration/ignoreDiacritics_CTL.cxx
@@ -17,14 +17,16 @@ ignoreDiacritics_CTL_translator (const sal_Unicode c)
 {
     switch (c) {
         //Arabic Diacritics
-        case 0x064B:
-        case 0x064C:
-        case 0x064D:
-        case 0x064E:
-        case 0x064F:
-        case 0x0650:
-        case 0x0651:
-        case 0x0652:
+        case 0x064B: // Fathahtan
+        case 0x064C: // Dammahtan
+        case 0x064D: // Kasrahtan
+        case 0x064E: // Fathah
+        case 0x064F: // Dammah
+        case 0x0650: // Kasrah
+        case 0x0651: // Shaddah
+        case 0x0652: // Sukun
+        case 0x0653: // Maddah
+        case 0x0670: // Dagger alif
         // no break;
         return 0xffff; // Skip this character
     }


More information about the Libreoffice-commits mailing list