diff options
author | Dominik Stadler <centic@apache.org> | 2015-02-13 19:14:14 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2015-02-13 19:14:14 +0000 |
commit | 5b42301a451bd4c4598b6f85bab7b1e53b72aef4 (patch) | |
tree | 7c0c15030f14a427ee07676a39b50c9251bf0312 /src/testcases/org/apache/poi/hssf/usermodel | |
parent | faa857592389d1ca35ae8c29877424bfcb8ac048 (diff) | |
download | poi-5b42301a451bd4c4598b6f85bab7b1e53b72aef4.tar.gz poi-5b42301a451bd4c4598b6f85bab7b1e53b72aef4.zip |
Bug 57456: Fix reading XLS with empty SSTRecord where Excel puts some random number in unique-strings-count-field
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1659650 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/usermodel')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java index 015c8c5950..873647805c 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java @@ -2681,4 +2681,10 @@ public final class TestBugs extends BaseTestBugzillaIssues { s = wb.getSheetAt(0); assertEquals(refHttp, s.getRow(0).getCell(0).getCellFormula()); } + + @Test + public void test57456() throws IOException { + Workbook wb = openSample("57456.xls"); + wb.close(); + } } |