mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
fix excel-ant tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896548 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c8fc960d2d
commit
a83fe7d91f
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user