editeng/source/editeng/impedit3.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 8e2928ec42f2daf66c81b818a10efc99c1a14e89
Author:     Khaled Hosny <kha...@aliftype.com>
AuthorDate: Sat Aug 13 00:00:27 2022 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Aug 15 11:48:26 2022 +0200

    tdf#103492: Messed Arabic letter spacing in text starting with LTR 
character(s)
    
    This partially reverts the still relevant parts of commit
    
    commit 41007842ed9bb5d6165792a197769f72dae55a2c
    Author: Martin Hosken <martin_hos...@sil.org>
    Date:   Thu Sep 10 10:14:18 2015 +0700
    
        Refactor graphite integration and update graphite
    
        Change-Id: I09db7262c2a6180a078620ba086dd7a4c132bd82
        Reviewed-on: https://gerrit.libreoffice.org/18459
        Tested-by: Jenkins <c...@libreoffice.org>
        Reviewed-by: László Németh <nem...@numbertext.org>
        Reviewed-by: Martin Hosken <martin_hos...@sil.org>
    
    No mention of the commit about this change or its relevance to Graphite
    integration. But the separate Graphite layout engine is long gone and
    Graphite handling goes through HarfBuzz now, so whatever the change was
    for is probably no longer relevant.
    
    I reverted only one the two changes in impedit3.cxx, as the other one
    does not seem to make any difference for this issue.
    
    Change-Id: Id70a711d6231cce52c9a32dbc3604860b1da9f4a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138217
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>
    (cherry picked from commit 895843ad466954b63f6f99a1b6319b7813d0dbe1)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138274
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/editeng/source/editeng/impedit3.cxx 
b/editeng/source/editeng/impedit3.cxx
index 4f0444f7e982..e73bf2aff9c8 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -762,8 +762,6 @@ bool ImpEditEngine::CreateLines( sal_Int32 nPara, 
sal_uInt32 nStartPosY )
     EditLine aSaveLine( *pLine );
     SvxFont aTmpFont( pNode->GetCharAttribs().GetDefFont() );
 
-    ImplInitLayoutMode(*GetRefDevice(), nPara, nIndex);
-
     std::vector<sal_Int32> aBuf( pNode->Len() );
 
     bool bSameLineAgain = false;    // For TextRanger, if the height changes.

Reply via email to