pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1591837 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFPrinter.java
Date Fri, 02 May 2014 09:09:56 GMT
Author: tilman
Date: Fri May  2 09:09:55 2014
New Revision: 1591837

URL: http://svn.apache.org/r1591837
Log:
PDFBOX-2051: call getPageable() to allow class extending, as suggested by Cornelis Hoeflake

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFPrinter.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFPrinter.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFPrinter.java?rev=1591837&r1=1591836&r2=1591837&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFPrinter.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PDFPrinter.java Fri May
 2 09:09:55 2014
@@ -205,7 +205,7 @@ public class PDFPrinter
         }
         else
         {
-            job.setPageable(new PDFPageable());
+            job.setPageable(getPageable());
             if (isSilent || job.printDialog())
             {
                 job.print();



Mime
View raw message