summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-05-23 13:15:21 +0200
committerEike Rathke <erack@redhat.com>2017-05-23 13:15:50 +0200
commit30660bd7e9d7f8639508dfceb24c335388370b0b (patch)
treed1e797836a2b247d0b8e62209ee4dd24b7ae6cda
parentb1319842a49cdf6512bbd9e81081e2a9edbd6089 (diff)
MustHaveParamCount() already pushes error, tdf#58874
Change-Id: I5d4ec4f36d7c047a377528495e04cbd9a7bdc38b
-rw-r--r--sc/source/core/tool/interpr1.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 9cc318b26a26..a782953b5425 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -4971,10 +4971,7 @@ void ScInterpreter::IterateParametersIf( ScIterFuncIf eFunc )
{
sal_uInt8 nParamCount = GetByte();
if ( !MustHaveParamCount( nParamCount, 2, 3 ) )
- {
- PushError( nGlobalError);
return;
- }
SCCOL nCol3 = 0;
SCROW nRow3 = 0;