diff options
Diffstat (limited to 'sc/source/filter/starcalc/collect.cxx')
-rw-r--r-- | sc/source/filter/starcalc/collect.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/filter/starcalc/collect.cxx b/sc/source/filter/starcalc/collect.cxx index dbb4c10f63a2..3ed51bfba774 100644 --- a/sc/source/filter/starcalc/collect.cxx +++ b/sc/source/filter/starcalc/collect.cxx @@ -78,8 +78,6 @@ bool ScCollection::AtInsert(sal_uInt16 nIndex, ScDataObject* pScDataObject) if (nCount == nLimit) { ScDataObject** pNewItems = new ScDataObject*[nLimit + nDelta]; - if (!pNewItems) - return false; nLimit = sal::static_int_cast<sal_uInt16>( nLimit + nDelta ); memcpy(pNewItems, pItems, nCount * sizeof(ScDataObject*)); delete[] pItems; |