summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-07-10 16:13:40 +0200
committerDavid Tardon <dtardon@redhat.com>2014-07-14 08:29:35 +0000
commit85ad903b57d1d1362f0d9a64ca3de37606645dee (patch)
tree93f5b4aebde6d8ad38953a22de35334281dd3d20
parent471ea09b844761ab42926de7ca782e97ce3e8931 (diff)
resolved fdo#80195 act on implicitly propagated error, if any
Change-Id: I1d5a55a14fc3e25edc2cddec5b53ed2afa96bd3e (cherry picked from commit 1093b900b43d819c9a730ef6435fed0f3687a085) Reviewed-on: https://gerrit.libreoffice.org/10195 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
-rw-r--r--sc/source/core/tool/interpr1.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 8c86e56a7839..493080a272cd 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -255,6 +255,11 @@ void ScInterpreter::ScIfError( bool bNAonly )
{
default:
Pop();
+ // Act on implicitly propagated error, if any.
+ if (nOldGlobalError)
+ nGlobalError = nOldGlobalError;
+ if (nGlobalError)
+ bError = true;
break;
case svError:
PopError();