From 64245c108aec557f62c254486aa354382bd445ce Mon Sep 17 00:00:00 2001 From: abdulmajeed ahmed Date: Mon, 24 Jun 2013 10:08:36 +0200 Subject: fdo#52204 add more diacritics for Arabic Change-Id: I916eb34b127699ea3251e92f4d7b705347ae5cba --- .../source/transliteration/ignoreDiacritics_CTL.cxx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'i18npool/source') 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 } -- cgit