[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 54e533889a
commit 0ec274d46e

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);
}
}