coverity#704284 Logically dead code

since c24ab8def1

Change-Id: Ic65f785dd4b1b8c7a56d52bc917ee1da4ad83ebe
This commit is contained in:
Caolán McNamara
2014-04-01 13:20:34 +01:00
parent dc9dcb7063
commit bbaa84d121
+1 -2
View File
@@ -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;