possible issue when streaming xssf cells with formulas

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1905575 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-11-28 14:30:15 +00:00
parent 4b911496eb
commit 185020b538

View File

@ -215,9 +215,7 @@ public class XSSFSheetXMLHandler extends DefaultHandler {
formula.setLength(0);
// Mark us as being a formula if not already
if(nextDataType == xssfDataType.NUMBER) {
nextDataType = xssfDataType.FORMULA;
}
nextDataType = xssfDataType.FORMULA;
// Decide where to get the formula string from
String type = attributes.getValue("t");