forbidden api

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893730 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-09-29 17:56:27 +00:00
parent f44c15575d
commit 50a2b9376b
1 changed files with 1 additions and 1 deletions

View File

@ -1232,7 +1232,7 @@ public final class TestXSSFWorkbook extends BaseTestXWorkbook {
XSSFCell cell = row2.createCell(0);
b.linkExternalWorkbook(nameA, a);
String formula = String.format("SUM('[%s]Sheet0'!A1:B1)", nameA);
String formula = String.format(LocaleUtil.getUserLocale(), "SUM('[%s]Sheet0'!A1:B1)", nameA);
cell.setCellFormula(formula);
XSSFFormulaEvaluator evaluator = b.getCreationHelper().createFormulaEvaluator();
evaluator.evaluateFormulaCell(cell);