[bug-62216] Fix issue with SXSSF error cells

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828144 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2018-04-01 16:16:37 +00:00
parent 4c925dc298
commit 5fb333194d

View File

@ -511,7 +511,7 @@ public class SXSSFCell implements Cell {
// populate the value
((ErrorFormulaValue) _value).setPreEvaluatedValue(value);
} else {
ensureType(CellType.ERROR);
ensureTypeOrFormulaType(CellType.ERROR);
((ErrorValue) _value).setValue(value);
}
}