summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabdulmajeed ahmed <aalabdulrazzaq@kacst.edu.sa>2013-06-24 10:08:36 +0200
committerabdulmajeed ahmed <aalabdulrazzaq@kacst.edu.sa>2013-06-24 10:16:11 +0200
commit64245c108aec557f62c254486aa354382bd445ce (patch)
treefc55fd89d457f0dd30db5ae2e6a803ca0497f8f4
parent9191f3a7f1d266711f518758549b27a1a51a0d1d (diff)
fdo#52204 add more diacritics for Arabic
Change-Id: I916eb34b127699ea3251e92f4d7b705347ae5cba
-rw-r--r--i18npool/source/transliteration/ignoreDiacritics_CTL.cxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/i18npool/source/transliteration/ignoreDiacritics_CTL.cxx b/i18npool/source/transliteration/ignoreDiacritics_CTL.cxx
index f4de2c5b2bc1..4486d45d87fd 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
}