aboutsummaryrefslogtreecommitdiffstats
path: root/poi-excelant/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'poi-excelant/src/main/java')
-rw-r--r--poi-excelant/src/main/java/org/apache/poi/ss/excelant/util/ExcelAntWorkbookUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-excelant/src/main/java/org/apache/poi/ss/excelant/util/ExcelAntWorkbookUtil.java b/poi-excelant/src/main/java/org/apache/poi/ss/excelant/util/ExcelAntWorkbookUtil.java
index 2541b5174a..3afd5f19ba 100644
--- a/poi-excelant/src/main/java/org/apache/poi/ss/excelant/util/ExcelAntWorkbookUtil.java
+++ b/poi-excelant/src/main/java/org/apache/poi/ss/excelant/util/ExcelAntWorkbookUtil.java
@@ -164,7 +164,7 @@ public class ExcelAntWorkbookUtil extends Typedef {
*/
protected FormulaEvaluator getEvaluator(String fileName) {
FormulaEvaluator evaluator;
- if (!fileName.endsWith(".xlsx")) {
+ if (fileName.endsWith(".xlsx")) {
if(xlsMacroList.isEmpty()) {
evaluator = new XSSFFormulaEvaluator((XSSFWorkbook) workbook);
} else {