Kaydet (Commit) 5c7e5d28 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735498 Logically dead code

Change-Id: Ia2a6df4aef944d81be41593ed001156d3f1ea054
üst fa16d060
......@@ -478,7 +478,7 @@ void SmGraphicWindow::KeyInput(const KeyEvent& rKEvt)
case KEY_DELETE:
{
if(!rCursor.HasSelection()){
rCursor.Move(this, nCode == KEY_DELETE ? MoveRight : MoveLeft, false);
rCursor.Move(this, MoveRight, false);
if(rCursor.HasComplexSelection()) break;
}
rCursor.Delete();
......
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