diff options
author | Eike Rathke <erack@redhat.com> | 2015-04-01 18:43:41 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-03 01:53:18 +0000 |
commit | 035764904eed82610e30ae557e568bb3c04286bf (patch) | |
tree | d9d69438ed9bdf324e768b6ab19e49202c1393f4 | |
parent | 6bbc6df677bfb85f7410a18e36eca4f62360f4a9 (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/15112
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-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 06cc58d1549f..c77b72ab1ab3 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -5568,6 +5568,7 @@ double ScInterpreter::IterateParametersIfs( ScIterFuncIfs eFunc ) if (!pMainMatrix) { SetError( errIllegalParameter); + return 0; } nMainCol1 = 0; nMainRow1 = 0; |