coverity#1400141 Unchecked return value

Change-Id: I69f99910bb5748e8e182639387fa3cdbc04b5589
This commit is contained in:
Caolán McNamara
2017-02-08 08:55:53 +00:00
parent 0008b7564a
commit 1428e9e0ab

View File

@@ -2691,7 +2691,7 @@ void ScDocument::CopyNonFilteredFromClip(
{
// look for more non-filtered rows following
SCROW nLastRow = nSourceRow;
rCxt.getClipDoc()->RowFiltered(nSourceRow, nFlagTab, nullptr, &nLastRow);
(void)rCxt.getClipDoc()->RowFiltered(nSourceRow, nFlagTab, nullptr, &nLastRow);
SCROW nFollow = nLastRow - nSourceRow;
if (nFollow > nSourceEnd - nSourceRow)