From 0b4d43db7babe0b9cfa932bf577f071fbdf34a12 Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Thu, 10 Sep 2009 13:51:26 +0000 Subject: [PATCH] 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 --- .../org/apache/poi/hssf/record/formula/eval/FunctionEval.java | 4 ++-- 1 file 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 19476c9f1..583cf88b8 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;