Kaydet (Commit) 1093b900 authored tarafından Eike Rathke's avatar Eike Rathke

resolved fdo#80195 act on implicitly propagated error, if any

Change-Id: I1d5a55a14fc3e25edc2cddec5b53ed2afa96bd3e
üst d18308cf
...@@ -253,6 +253,11 @@ void ScInterpreter::ScIfError( bool bNAonly ) ...@@ -253,6 +253,11 @@ void ScInterpreter::ScIfError( bool bNAonly )
{ {
default: default:
Pop(); Pop();
// Act on implicitly propagated error, if any.
if (nOldGlobalError)
nGlobalError = nOldGlobalError;
if (nGlobalError)
bError = true;
break; break;
case svError: case svError:
PopError(); PopError();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment