diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-04-14 17:36:05 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-04-14 17:36:05 -0400 |
commit | e1aa6471c514402d5ef1d5053b989b38a1f22981 (patch) | |
tree | 4c3dc4a35f5757cdd1dda8b50d79622245f73218 | |
parent | b45254a0d973e1da278d5e8d269b688628f2603f (diff) |
Revert "fdo#34306: Append fake parameter in case of un-even parameter count."
This reverts commit b45254a0d973e1da278d5e8d269b688628f2603f.
This is not the right approach, as re-saving the document to xls would
mess it up again.
-rw-r--r-- | sc/source/core/tool/interpr2.cxx | 6 |
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 ) |