diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 97ffab7b2899..5f3ae62f5407 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -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)