Kaydet (Commit) 8a764bc0 authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Caolán McNamara

tdf#120703 (PVS): Recurring check.

V571 The 'SwKeyState::KeyToView != eFlyState' condition was already verified in line 1723.

Change-Id: I4fb5d7a5e50822985ca753706d4cdb1693439118
Reviewed-on: https://gerrit.libreoffice.org/62161
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 5d41d9fe
......@@ -1718,13 +1718,10 @@ void SwEditWin::KeyInput(const KeyEvent &rKEvt)
KEYINPUT_CHECKTABLE:
if( rSh.IsTableMode() || !rSh.GetTableFormat() )
{
if(SwKeyState::KeyToView != eFlyState)
{
if(!pFlyFormat && SwKeyState::KeyToView != eFlyState &&
(rSh.GetSelectionType() & (SelectionType::DrawObject|SelectionType::DbForm)) &&
rSh.GetDrawView()->AreObjectsMarked())
eKeyState = SwKeyState::Draw_Change;
}
if(!pFlyFormat && SwKeyState::KeyToView != eFlyState &&
(rSh.GetSelectionType() & (SelectionType::DrawObject|SelectionType::DbForm)) &&
rSh.GetDrawView()->AreObjectsMarked())
eKeyState = SwKeyState::Draw_Change;
if( pFlyFormat )
eKeyState = eFlyState;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment