diff options
author | Jaskaran <jvsg1303@gmail.com> | 2016-03-10 08:33:39 +0530 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2016-04-05 10:20:33 +0000 |
commit | a215cec969f7401b08cabb686c5b2b1d803399d0 (patch) | |
tree | c306131029c4f17683dccfb9f371888c3a44e5a5 | |
parent | 901d04d3965ed73696586de06c6890e79299f266 (diff) |
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@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 204725545c95..d323058fccff 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() ); |