summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-04-26 18:22:25 +0200
committerEike Rathke <erack@redhat.com>2016-04-26 18:24:00 +0200
commit4905c8bf7834b1ca79139c62f4e8b0672e9ddc13 (patch)
treef06ca076aa912fbe8c0a8ed2a33fa44a569e0300
parent1670e45f6acbe8c5230c983c365c16b357496be1 (diff)
early bail out if nGlobalError, tdf#97831 follow-up
Change-Id: Ic45d11cecc4bb372dac3deca27ae3665303d5b29
-rw-r--r--sc/source/core/tool/interpr8.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx
index 20ceb72a950a..a03fbb8b3863 100644
--- a/sc/source/core/tool/interpr8.cxx
+++ b/sc/source/core/tool/interpr8.cxx
@@ -1407,7 +1407,7 @@ void ScInterpreter::ScConcat_MS()
}
size_t nRefInList = 0;
- while ( nParamCount-- > 0 )
+ while ( nParamCount-- > 0 && !nGlobalError )
{
switch ( GetStackType() )
{