#56791 Default to NPOIFS

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678759 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2015-05-11 14:26:01 +00:00
parent 08bd34b20f
commit 252d7cc81a

View File

@ -182,7 +182,7 @@ public abstract class POIDocument {
if (encryptionInfo != null) { if (encryptionInfo != null) {
try { try {
InputStream is = encryptionInfo.getDecryptor().getDataStream(directory); InputStream is = encryptionInfo.getDecryptor().getDataStream(directory);
POIFSFileSystem poifs = new POIFSFileSystem(is); NPOIFSFileSystem poifs = new NPOIFSFileSystem(is);
is.close(); is.close();
dirNode = poifs.getRoot(); dirNode = poifs.getRoot();
} catch (Exception e) { } catch (Exception e) {