diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-01 13:20:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-01 13:20:34 +0100 |
commit | bbaa84d121deeaba2f173fb272feb2b998aaec70 (patch) | |
tree | df560a2ea6a10ba75963c8442362147dae88aee6 | |
parent | dc9dcb7063539921aa19d258904eaeca476aabe8 (diff) |
coverity#704284 Logically dead code
since c24ab8def12f8a7a305e35d39c91976e345dd3b0
Change-Id: Ic65f785dd4b1b8c7a56d52bc917ee1da4ad83ebe
-rw-r--r-- | sc/source/ui/view/tabvwsh4.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index a600de0bbbce..6d0a6e6a8179 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -1295,8 +1295,7 @@ bool ScTabViewShell::TabKeyInput(const KeyEvent& rKEvt) { ScRange aDummy; ScMarkType eMarkType = GetViewData()->GetSimpleArea( aDummy ); - if ( eMarkType != SC_MARK_SIMPLE && - !(eFunc == KEYFUNC_COPY && eMarkType == SC_MARK_SIMPLE_FILTERED) ) + if (eMarkType != SC_MARK_SIMPLE) { ErrorMessage(STR_NOMULTISELECT); bUsed = true; |