summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-05-20 12:06:34 +0200
committerEike Rathke <erack@redhat.com>2016-05-20 12:14:21 +0200
commit824cf015683383b553c744a746ac8e8ea65495cf (patch)
tree858438d2f4a865afcb9f8b34f7eb9e219c30e17e
parent2f94ff566f7827792175daedb92f12a7e61ad95d (diff)
tdf#93101 handle svExternalSingleRef in ISERROR()
Change-Id: I9e2a4aeb16d6777153d2f47a1c1af68fe2e97780
-rw-r--r--sc/source/core/tool/interpr1.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 9ee004d0431b..fcbb2d086135 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -2771,6 +2771,14 @@ void ScInterpreter::ScIsError()
}
}
break;
+ case svExternalSingleRef:
+ {
+ ScExternalRefCache::TokenRef pToken;
+ PopExternalSingleRef(pToken);
+ if (nGlobalError || !pToken || pToken->GetType() == svError)
+ bRes = true;
+ }
+ break;
default:
PopError();
if ( nGlobalError )