pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1726865 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java
Date Tue, 26 Jan 2016 20:03:07 GMT
Author: tilman
Date: Tue Jan 26 20:03:06 2016
New Revision: 1726865

URL: http://svn.apache.org/viewvc?rev=1726865&view=rev
Log:
PDFBOX-2852: replace deprecated calls

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java?rev=1726865&r1=1726864&r2=1726865&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDPageContentStream.java Tue
Jan 26 20:03:06 2016
@@ -228,7 +228,7 @@ public final class PDPageContentStream i
                 close();
                 
                 // insert the new stream at the beginning
-                array.add(0, saveGraphics.getStream());
+                array.add(0, saveGraphics.getCOSObject());
             }
 
             // Sets the compoundStream as page contents



Mime
View raw message