summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-07-10 16:13:40 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-07-10 16:25:40 +0000
commit50b9fe07f9851160e12922feb7d96d6f7ae5b52e (patch)
treebae0bcb01b9b636d7d0aea3c634d377c67298f89 /sc
parent088eef7c97dc4d496826a3f3ae4fdec7f36b6ada (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/10198 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-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 a834488ee091..a42dbad7da9f 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();