summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-11-06 22:16:07 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2016-11-06 22:34:04 +0200
commit6723fd9d185c8911d83e6b1fd06476e7c5cefce2 (patch)
tree275644927f9ea9b55d9f70838b55514ee6ae998e /sw
parent4920ee168fd210483c7f404cc2b41a00a265139f (diff)
Follow Unicode character names for better or worse
To avoid confusing transliteration. Change-Id: I0ac1692b469f6f974fe3e5b0cc12a40d6f3a7018
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/porlay.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx
index 30b3cbc5cf0a..1edf156e10ff 100644
--- a/sw/source/core/text/porlay.cxx
+++ b/sw/source/core/text/porlay.cxx
@@ -62,7 +62,7 @@ using namespace i18n::ScriptType;
#define IS_JOINING_GROUP(c, g) ( u_getIntPropertyValue( (c), UCHAR_JOINING_GROUP ) == U_JG_##g )
#define isAinChar(c) IS_JOINING_GROUP((c), AIN)
#define isAlefChar(c) IS_JOINING_GROUP((c), ALEF)
-#define isBaaChar(c) IS_JOINING_GROUP((c), BEH)
+#define isBehChar(c) IS_JOINING_GROUP((c), BEH)
#define isDalChar(c) IS_JOINING_GROUP((c), DAL)
#define isFehChar(c) IS_JOINING_GROUP((c), FEH)
#define isGafChar(c) IS_JOINING_GROUP((c), GAF)
@@ -1010,10 +1010,10 @@ void SwScriptInfo::InitScriptInfo( const SwTextNode& rNode, bool bRTL )
}
// 5. Priority:
- // before media Bah
+ // before medial Beh
if ( nPriorityLevel >= 4 && nIdx > 0 && nIdx < nWordLen - 1 )
{
- if ( isBaaChar ( cCh )) // Bah
+ if ( isBehChar ( cCh )) // Beh
{
// check if next character is Reh, Yeh or Alef Maksura
sal_Unicode cNextCh = rWord[ nIdx + 1 ];
@@ -1031,7 +1031,7 @@ void SwScriptInfo::InitScriptInfo( const SwTextNode& rNode, bool bRTL )
}
// 6. Priority:
- // before the final form of Waw, Ain, Qaf and Fa
+ // before the final form of Waw, Ain, Qaf and Feh
if ( nPriorityLevel >= 5 && nIdx > 0 )
{
if ( isWawChar ( cCh ) || // Wav (right joining)