aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2017-12-11 19:52:53 +0000
committerNick Burch <nick@apache.org>2017-12-11 19:52:53 +0000
commit2ed2aa504d285082eaa72a2ecefc065ee7b5967f (patch)
treea482d7d43ded8d586601fd9fbec485f560054ff5
parent50ffe0de321d788aad396a16f6e2327546562e0f (diff)
downloadpoi-2ed2aa504d285082eaa72a2ecefc065ee7b5967f.tar.gz
poi-2ed2aa504d285082eaa72a2ecefc065ee7b5967f.zip
#61765 Another HSSF Workbook name found from (unknown) third party software produced files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1817812 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/poi/hssf/model/InternalWorkbook.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/hssf/model/InternalWorkbook.java b/src/java/org/apache/poi/hssf/model/InternalWorkbook.java
index d16eec62ee..46d8678229 100644
--- a/src/java/org/apache/poi/hssf/model/InternalWorkbook.java
+++ b/src/java/org/apache/poi/hssf/model/InternalWorkbook.java
@@ -136,6 +136,7 @@ public final class InternalWorkbook {
"Workbook", // as per BIFF8 spec
"WORKBOOK", // Typically from third party programs
"BOOK", // Typically odd Crystal Reports exports
+ "WorkBook", // Another third party program special
};
/**
* Name of older (pre-Excel 97) Workbook streams, which
@@ -2280,4 +2281,4 @@ public final class InternalWorkbook {
public WorkbookRecordList getWorkbookRecordList() {
return records;
}
-} \ No newline at end of file
+}