Related: tdf#111675 Replace Pop() with PopError() where relevant
commit69bf8f5e6dc43adde087403531641f2bd064a22c
authorEike Rathke <erack@redhat.com>
Fri, 11 Mar 2022 20:28:19 +0000 (11 21:28 +0100)
committerXisco Fauli <xiscofauli@libreoffice.org>
Mon, 14 Mar 2022 13:20:02 +0000 (14 14:20 +0100)
treec482adef98c6ef72d8c08ea23d72334ae73fed63
parent50f231d061e614f1127894a58cbeae8d9486f2ec
Related: tdf#111675 Replace Pop() with PopError() where relevant

... to propagate the original (previous) error instead of
overriding it with a new error. Pop() may only be used if the
stack type is already known to be not svError, or to explicitly
ignore a current error.

Change-Id: I5a980c29f2d2679c0e2f2fc7e53c458dc147911f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131404
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
(cherry picked from commit 84720c09ef30e79c56936026c3992240b4ae010b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131362
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
sc/source/core/tool/interpr1.cxx
sc/source/core/tool/interpr4.cxx
sc/source/core/tool/interpr6.cxx