diff options
author | Eike Rathke <erack@redhat.com> | 2015-04-01 18:43:41 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-04-04 10:43:29 +0200 |
commit | 0e75ad9e12f894f71f3c31b497b3d6713dd5db37 (patch) | |
tree | e4b5ff6b53a4515d4589eebbad9e7d66cfa18247 /sc/source/core | |
parent | 16ff734b4b0dbb6502f3caa20d50e0063053d06b (diff) |
Resolves: tdf#88672 add missing return if error to not crash
Change-Id: Iae73c46d6ae5b141c3f5680b2623ee06205c22d2
(cherry picked from commit 3cae8ee10f297e42adf9f3b33809b4e7e3af2840)
Reviewed-on: https://gerrit.libreoffice.org/15111
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index a8111f310136..7715ce586282 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -5520,6 +5520,7 @@ double ScInterpreter::IterateParametersIfs( ScIterFuncIfs eFunc ) if (!pMainMatrix) { SetError( errIllegalParameter); + return 0; } nMainCol1 = 0; nMainRow1 = 0; |