pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1639897 - /pdfbox/branches/1.8/preflight/src/main/java/org/apache/pdfbox/preflight/process/StreamValidationProcess.java
Date Sat, 15 Nov 2014 14:57:24 GMT
Author: tilman
Date: Sat Nov 15 14:57:24 2014
New Revision: 1639897

URL: http://svn.apache.org/r1639897
Log:
PDFBOX-2500: allow indirect object for filters

Modified:
    pdfbox/branches/1.8/preflight/src/main/java/org/apache/pdfbox/preflight/process/StreamValidationProcess.java

Modified: pdfbox/branches/1.8/preflight/src/main/java/org/apache/pdfbox/preflight/process/StreamValidationProcess.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/preflight/src/main/java/org/apache/pdfbox/preflight/process/StreamValidationProcess.java?rev=1639897&r1=1639896&r2=1639897&view=diff
==============================================================================
--- pdfbox/branches/1.8/preflight/src/main/java/org/apache/pdfbox/preflight/process/StreamValidationProcess.java
(original)
+++ pdfbox/branches/1.8/preflight/src/main/java/org/apache/pdfbox/preflight/process/StreamValidationProcess.java
Sat Nov 15 14:57:24 2014
@@ -93,7 +93,7 @@ public class StreamValidationProcess ext
      */
     protected void checkFilters(COSStream stream, PreflightContext context)
     {
-        COSBase bFilter = stream.getItem(COSName.FILTER);
+        COSBase bFilter = stream.getDictionaryObject(COSName.FILTER);
         if (bFilter != null)
         {
             COSDocument cosDocument = context.getDocument().getDocument();



Mime
View raw message