From bbaa84d121deeaba2f173fb272feb2b998aaec70 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 1 Apr 2014 13:20:34 +0100 Subject: coverity#704284 Logically dead code since c24ab8def12f8a7a305e35d39c91976e345dd3b0 Change-Id: Ic65f785dd4b1b8c7a56d52bc917ee1da4ad83ebe --- sc/source/ui/view/tabvwsh4.cxx | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit