diff options
author | PJ Fanning <fanningpj@apache.org> | 2018-04-01 16:16:37 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2018-04-01 16:16:37 +0000 |
commit | 5fb333194d2e696dad9af84ef246715f0623cffa (patch) | |
tree | 56ccc16d8dc9e84bef8ae3bfdf63174a5ca556fc /src | |
parent | 4c925dc298f0fbb0d37b9c25aea8aef5b2948fd1 (diff) | |
download | poi-5fb333194d2e696dad9af84ef246715f0623cffa.tar.gz poi-5fb333194d2e696dad9af84ef246715f0623cffa.zip |
[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
Diffstat (limited to 'src')
-rw-r--r-- | src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java index 4e8310ea2c..af68d51827 100644 --- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java +++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java @@ -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); } } |