pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1624907 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
Date Sun, 14 Sep 2014 21:22:26 GMT
Author: tilman
Date: Sun Sep 14 21:22:26 2014
New Revision: 1624907

URL: http://svn.apache.org/r1624907
Log:
PDFBOX-2347: revert previous commit

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java?rev=1624907&r1=1624906&r2=1624907&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
Sun Sep 14 21:22:26 2014
@@ -451,7 +451,7 @@ public class NonSequentialPDFParser exte
         }
 
         // ---- prepare encryption if necessary
-        COSBase trailerEncryptItem = document.getTrailer().getDictionaryObject(COSName.ENCRYPT);
+        COSBase trailerEncryptItem = document.getTrailer().getItem(COSName.ENCRYPT);
         if (trailerEncryptItem != null)
         {
             if (trailerEncryptItem instanceof COSObject)



Mime
View raw message