summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr1.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index fae8a6eeb222..345ab7115815 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -1342,7 +1342,7 @@ void ScInterpreter::ScAnd()
}
break;
default:
- Pop();
+ PopError();
SetError( FormulaError::IllegalParameter);
}
}
@@ -1441,7 +1441,7 @@ void ScInterpreter::ScOr()
}
break;
default:
- Pop();
+ PopError();
SetError( FormulaError::IllegalParameter);
}
}
@@ -1543,7 +1543,7 @@ void ScInterpreter::ScXor()
}
break;
default:
- Pop();
+ PopError();
SetError( FormulaError::IllegalParameter);
}
}