From 2844f3114c2a7b122fe299ed21ed06ca57866e47 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 6 May 2016 22:01:46 +0200 Subject: actually propagate a match expression error, tdf#97831 follow-up Change-Id: Iaeecf371af8dd5f6c2cbdea2f114566e8bf7cf47 --- sc/source/core/tool/interpr8.cxx | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3