summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-05-06 22:01:46 +0200
committerEike Rathke <erack@redhat.com>2016-05-07 01:07:20 +0200
commit2844f3114c2a7b122fe299ed21ed06ca57866e47 (patch)
tree7c3e12c09554c4a2ffaadf1cde3f88c43a25267e
parentc54f6161480fc3721bf8e208cd12a7446ab608b7 (diff)
actually propagate a match expression error, tdf#97831 follow-up
Change-Id: Iaeecf371af8dd5f6c2cbdea2f114566e8bf7cf47
-rw-r--r--sc/source/core/tool/interpr8.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx
index 36304d8849aa..7d1349f879da 100644
--- a/sc/source/core/tool/interpr8.cxx
+++ b/sc/source/core/tool/interpr8.cxx
@@ -1952,6 +1952,7 @@ void ScInterpreter::ScSwitch_MS()
isValue = ScMatrix::IsValueType( GetDoubleOrStringFromMatrix( fRefVal, aRefStr ) );
break;
default :
+ PopError();
PushIllegalArgument();
return;
}