coverity#1400141 Unchecked return value
Change-Id: I69f99910bb5748e8e182639387fa3cdbc04b5589
This commit is contained in:
@@ -2691,7 +2691,7 @@ void ScDocument::CopyNonFilteredFromClip(
|
|||||||
{
|
{
|
||||||
// look for more non-filtered rows following
|
// look for more non-filtered rows following
|
||||||
SCROW nLastRow = nSourceRow;
|
SCROW nLastRow = nSourceRow;
|
||||||
rCxt.getClipDoc()->RowFiltered(nSourceRow, nFlagTab, nullptr, &nLastRow);
|
(void)rCxt.getClipDoc()->RowFiltered(nSourceRow, nFlagTab, nullptr, &nLastRow);
|
||||||
SCROW nFollow = nLastRow - nSourceRow;
|
SCROW nFollow = nLastRow - nSourceRow;
|
||||||
|
|
||||||
if (nFollow > nSourceEnd - nSourceRow)
|
if (nFollow > nSourceEnd - nSourceRow)
|
||||||
|
Reference in New Issue
Block a user