Kaydet (Commit) 9af88a70 authored tarafından Caolán McNamara's avatar Caolán McNamara

Revert "coverity#1242942 Use of untrusted scalar value"

This reverts commit 093b3d30.

it didn't help one bit to get coverity to see the bounds check

Change-Id: Ibf01c7dea2b220290511871c2a650051295d389d
üst 612ebb3a
...@@ -1169,15 +1169,6 @@ private: ...@@ -1169,15 +1169,6 @@ private:
SCROW mnUBound; SCROW mnUBound;
}; };
bool ValidCol(SCCOL nCol) const
{
return nCol >= 0 && static_cast<size_t>(nCol) < SAL_N_ELEMENTS(aCol);
}
bool ValidColRow(SCCOL nCol, SCROW nRow) const
{
return ValidCol(nCol) && ValidRow(nRow);
}
}; };
#endif #endif
......
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