pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1688254 - /pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeModel.java
Date Mon, 29 Jun 2015 15:48:26 GMT
Author: tilman
Date: Mon Jun 29 15:48:25 2015
New Revision: 1688254

URL: http://svn.apache.org/r1688254
Log:
PDFBOX-2530: don't dereference for COSArray

Modified:
    pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeModel.java

Modified: pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeModel.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeModel.java?rev=1688254&r1=1688253&r2=1688254&view=diff
==============================================================================
--- pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeModel.java (original)
+++ pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/gui/PDFTreeModel.java Mon Jun
29 15:48:25 2015
@@ -110,7 +110,7 @@ public class PDFTreeModel implements Tre
             ArrayEntry entry = new ArrayEntry();
             entry.setIndex( index );
             entry.setValue( ((COSArray)parent).getObject(index) );
-            entry.setItem(((COSArray) parent).getObject(index));
+            entry.setItem(((COSArray) parent).get(index));
             retval = entry;
         }
         else if( parent instanceof COSDictionary )



Mime
View raw message