aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYegor Kozlov <yegor@apache.org>2009-09-10 13:51:26 +0000
committerYegor Kozlov <yegor@apache.org>2009-09-10 13:51:26 +0000
commit595bbb574c823b3a1c94cf7100c9b53f3c3e32d6 (patch)
tree6af75be20b82888ef0896c27229a53adee180ed1
parent8b82a8cb46d8262f4bfdd7a332682788bff2e4ca (diff)
downloadpoi-595bbb574c823b3a1c94cf7100c9b53f3c3e32d6.tar.gz
poi-595bbb574c823b3a1c94cf7100c9b53f3c3e32d6.zip
Necessary fix of FunctionEval (follow-on to patch 47768)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@813440 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java b/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java
index 19476c9f13..583cf88b8e 100644
--- a/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java
+++ b/src/java/org/apache/poi/hssf/record/formula/eval/FunctionEval.java
@@ -55,7 +55,6 @@ public final class FunctionEval implements OperationEval {
retval[0] = new Count();
retval[1] = new If();
retval[2] = new IsNa();
-
retval[3] = new IsError();
retval[ID.SUM] = AggregateFunction.SUM;
retval[5] = AggregateFunction.AVERAGE;
@@ -64,7 +63,7 @@ public final class FunctionEval implements OperationEval {
retval[8] = new Row(); // ROW
retval[9] = new Column();
retval[10] = new Na();
-
+ retval[11] = new Npv();
retval[12] = AggregateFunction.STDEV;
retval[13] = NumericFunction.DOLLAR;
@@ -155,6 +154,7 @@ public final class FunctionEval implements OperationEval {
retval[212] = NumericFunction.ROUNDUP;
retval[213] = NumericFunction.ROUNDDOWN;
+ retval[220] = new Days360();
retval[221] = new Today();
retval[227] = AggregateFunction.MEDIAN;