summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/interpr1.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-07-10 16:13:40 +0200
committerEike Rathke <erack@redhat.com>2014-07-10 16:18:01 +0200
commit1093b900b43d819c9a730ef6435fed0f3687a085 (patch)
treefd3568ba0e8b9a61632329a54797ba7eda6cff89 /sc/source/core/tool/interpr1.cxx
parentd18308cf3b25ee30815bcaae73d49b5f5b8e734e (diff)
resolved fdo#80195 act on implicitly propagated error, if any
Change-Id: I1d5a55a14fc3e25edc2cddec5b53ed2afa96bd3e
Diffstat (limited to 'sc/source/core/tool/interpr1.cxx')
-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 b9e3d122e7c2..df65daa693fe 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -253,6 +253,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();