summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/tool/interpr1.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index fddd8c3678e8..5961bc545c8d 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -5432,11 +5432,9 @@ double ScInterpreter::IterateParametersIfs( ScIterFuncIfs eFunc )
SCSIZE nResC, nResR;
nResC = nCol2 - nCol1 + 1;
nResR = nRow2 - nRow1 + 1;
- pResMat = GetNewMat(nResC, nResR);
+ pResMat = GetNewMat(nResC, nResR, false);
if (!pResMat)
SetError( errIllegalParameter);
- else
- pResMat->FillDouble( 0.0, 0, 0, nResC-1, nResR-1);
}
ScQueryParam rParam;