diff options
author | Eike Rathke <erack@redhat.com> | 2017-05-23 14:01:41 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-05-30 10:19:47 +0200 |
commit | 5af72a2fc78f77441d255ef8b9297ef5cda01388 (patch) | |
tree | 495f4218bb5c3cb9ff96f71bc074bd5a0059d928 /sc/source | |
parent | e74d699e3d442ee15564f0e9f41b8e7dd0d8e4b8 (diff) |
PushError() instead of SetError() so there's a result token
Change-Id: I8c2a7e01b04c26e008c8cbea9332f71d47293c75
(cherry picked from commit cd87661b4761ee9f512fc01f95d84f786c97bb66)
Reviewed-on: https://gerrit.libreoffice.org/37950
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
(cherry picked from commit bcd3e9f29c458847df839724def86f4ebd388cdd)
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index f005b26e4635..22ae9153e5c9 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -5713,7 +5713,7 @@ void ScInterpreter::ScSumIfs() if (nParamCount < 3 || (nParamCount % 2 != 1)) { - SetError( FormulaError::ParameterExpected); + PushError( FormulaError::ParameterExpected); return; } @@ -5728,7 +5728,7 @@ void ScInterpreter::ScAverageIfs() if (nParamCount < 3 || (nParamCount % 2 != 1)) { - SetError( FormulaError::ParameterExpected); + PushError( FormulaError::ParameterExpected); return; } @@ -5743,7 +5743,7 @@ void ScInterpreter::ScCountIfs() if (nParamCount < 2 || (nParamCount % 2 != 0)) { - SetError( FormulaError::ParameterExpected); + PushError( FormulaError::ParameterExpected); return; } @@ -5758,7 +5758,7 @@ void ScInterpreter::ScMinIfs_MS() if (nParamCount < 3 || (nParamCount % 2 != 1)) { - SetError( FormulaError::ParameterExpected); + PushError( FormulaError::ParameterExpected); return; } @@ -5774,7 +5774,7 @@ void ScInterpreter::ScMaxIfs_MS() if (nParamCount < 3 || (nParamCount % 2 != 1)) { - SetError( FormulaError::ParameterExpected); + PushError( FormulaError::ParameterExpected); return; } |