diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-12-30 21:40:34 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-12-30 21:40:34 +0000 |
commit | a83fe7d91f9ae847d3ec77f636409eeff5878a2f (patch) | |
tree | a576dcc83c1d36f04c1194e5b2ad788e8b5500c5 /poi-excelant/src | |
parent | c8fc960d2dd31333ce5de03e5efa5dc11b3e019e (diff) | |
download | poi-a83fe7d91f9ae847d3ec77f636409eeff5878a2f.tar.gz poi-a83fe7d91f9ae847d3ec77f636409eeff5878a2f.zip |
fix excel-ant tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896548 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-excelant/src')
-rw-r--r-- | poi-excelant/src/main/java/org/apache/poi/ss/excelant/util/ExcelAntWorkbookUtil.java | 2 |
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 { |