diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-01 21:00:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 09:14:50 +0100 |
commit | 5c7e5d28019406a9e72c58050a85ff51529f8341 (patch) | |
tree | bcb359f377ffad1cf27bb67cc5e5c7f4f49bd939 /starmath | |
parent | fa16d060236346beb80ecb3596186ae9df469432 (diff) |
coverity#735498 Logically dead code
Change-Id: Ia2a6df4aef944d81be41593ed001156d3f1ea054
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/view.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index b66e7333332c..edf81eace9f7 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -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(); |