summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-11-06 22:44:15 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2016-11-06 22:45:26 +0200
commit6a087ef7d4f67f52ab688d0dc84b39b5bd36d931 (patch)
tree524639ed1d3414ed56eca2dbe006e9d1227fa64b /sw
parentd9f4c9a62b443d06509b2885ddc890c80ba1570e (diff)
Update comments
Change-Id: Ia63e2f16eb70c4a0cc20fc73f0f2694f1381dac5
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/porlay.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx
index 7bd6706a895d..ff2f4b8ae78b 100644
--- a/sw/source/core/text/porlay.cxx
+++ b/sw/source/core/text/porlay.cxx
@@ -1054,9 +1054,8 @@ void SwScriptInfo::InitScriptInfo( const SwTextNode& rNode, bool bRTL )
// other connecting possibilities
if ( nPriorityLevel >= 6 && nIdx > 0 )
{
- // remaining right joiners
- // Reh, Zain, Thal,
- if ( isRehChar ( cCh ) ) // Reh Zain (right joining)
+ // Reh, Zain
+ if ( isRehChar ( cCh ) )
{
SAL_WARN_IF( 0 == cPrevCh, "sw.core", "No previous character" );
// check if character is connectable to previous character,
@@ -1068,9 +1067,8 @@ void SwScriptInfo::InitScriptInfo( const SwTextNode& rNode, bool bRTL )
}
}
- // Do not consider Fathatan, Dammatan, Kasratan, Fatha,
- // Damma, Kasra, Shadda and Sukun when checking if
- // a character can be connected to previous character.
+ // Do not consider vowel marks when checking if a character
+ // can be connected to previous character.
if ( !isTransparentChar ( cCh) )
cPrevCh = cCh;