View | Details | Raw Unified | Return to bug 59106
Collapse All | Expand All

(-)src/java/org/apache/poi/ss/formula/atp/ArgumentsEvaluator.java (-1 / +2 lines)
Lines 86-92 Link Here
86
            AreaEvalBase area = (AreaEvalBase) arg;
86
            AreaEvalBase area = (AreaEvalBase) arg;
87
            for (int i = area.getFirstRow(); i <= area.getLastRow(); i++) {
87
            for (int i = area.getFirstRow(); i <= area.getLastRow(); i++) {
88
                for (int j = area.getFirstColumn(); j <= area.getLastColumn(); j++) {
88
                for (int j = area.getFirstColumn(); j <= area.getLastColumn(); j++) {
89
                    valuesList.add(evaluateDateArg(area.getValue(i, j), i, j));
89
                    //TODO getValue() is replaced with getAbsoluteValue() because loop variables i, j are absolute indexes values, but getValue() works with relative indexes values
90
                    valuesList.add(evaluateDateArg(area.getAbsoluteValue(i, j), i, j));
90
                }
91
                }
91
            }
92
            }
92
            double[] values = new double[valuesList.size()];
93
            double[] values = new double[valuesList.size()];

Return to bug 59106