#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:
parent
08bd34b20f
commit
252d7cc81a
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user