sc/source/core/tool/interpr1.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit c9812dc14828b3c8d48f5b765d1798c7cf3a5099 Author: Eike Rathke <er...@redhat.com> Date: Wed Apr 1 18:43:41 2015 +0200
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.mohrh...@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index a8111f3..7715ce5 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits