Resolve tdf#49091 "UI: Alt-Left, Alt-Right keyboard shortcuts ineffective"
Change-Id: I245943fb9185e03cf52f144d9e06ab22cda13592
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132651
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 594c69e..eeb8554 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -1744,6 +1744,21 @@ void SwEditWin::KeyInput(const KeyEvent &rKEvt)
goto KEYINPUT_CHECKTABLE;
KEYINPUT_CHECKTABLE:
// Resolve bugs 49091, 53190, 93402 and
// https://bz.apache.org/ooo/show_bug.cgi?id=113502
// but provide an option for restoring interactive
// table sizing functionality when needed.
if (
! (Window::GetIndicatorState() & KeyIndicatorState::CAPSLOCK)
&& m_rView.KeyInput( aKeyEvent ) // Keystroke is customized
)
{
bFlushBuffer = true;
bNormalChar = false;
eKeyState = SwKeyState::End;
break ;
}
if( rSh.IsTableMode() || !rSh.GetTableFormat() )
{
if(!pFlyFormat && SwKeyState::KeyToView != eFlyState &&