summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/tool/interpr2.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index 39ab253c8..aa06d915c 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -2943,11 +2943,7 @@ void ScInterpreter::ScGetPivotData()
// there must be an even number of args
// target, ref, then field/item pairs
if( (nParamCount % 2) == 1)
- {
- // if not, append an extra fake parameter to compensate for it.
- PushString(ScGlobal::GetEmptyString());
- ++nParamCount;
- }
+ goto failed;
bool bOldSyntax = false;
if ( nParamCount == 2 )