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

Khaled Hosny khaledhosny at eglug.org
Sun Nov 6 20:45:53 UTC 2016


 sw/source/core/text/porlay.cxx |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

New commits:
commit 6a087ef7d4f67f52ab688d0dc84b39b5bd36d931
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Sun Nov 6 22:44:15 2016 +0200

    Update comments
    
    Change-Id: Ia63e2f16eb70c4a0cc20fc73f0f2694f1381dac5

diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx
index 7bd6706..ff2f4b8 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;
 


More information about the Libreoffice-commits mailing list