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

Jaskaran jvsg1303 at gmail.com
Tue Apr 5 10:20:56 UTC 2016


 sw/source/uibase/docvw/edtwin.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit a215cec969f7401b08cabb686c5b2b1d803399d0
Author: Jaskaran <jvsg1303 at gmail.com>
Date:   Thu Mar 10 08:33:39 2016 +0530

    tdf#32531 Fix for key movement in table cell of different directionality
    
    Change-Id: I7bd864176c9766dc8d030dd73d9b8ddd81ea2ee5
    Reviewed-on: https://gerrit.libreoffice.org/23107
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>

diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 2047255..d323058 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -1474,13 +1474,6 @@ void SwEditWin::KeyInput(const KeyEvent &rKEvt)
                 else if( KEY_LEFT == nKey ) nKey = KEY_DOWN;
                 else if( KEY_RIGHT == nKey ) nKey = KEY_UP;
             }
-
-            if ( rSh.IsInRightToLeftText() )
-            {
-                if( KEY_LEFT == nKey ) nKey = KEY_RIGHT;
-                else if( KEY_RIGHT == nKey ) nKey = KEY_LEFT;
-            }
-
             aKeyEvent = KeyEvent( rKEvt.GetCharCode(),
                                   vcl::KeyCode( nKey, rKEvt.GetKeyCode().GetModifier() ),
                                   rKEvt.GetRepeat() );


More information about the Libreoffice-commits mailing list