pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1688382 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/PDFMergerUtility.java
Date Tue, 30 Jun 2015 07:32:44 GMT
Author: tilman
Date: Tue Jun 30 07:32:44 2015
New Revision: 1688382

URL: http://svn.apache.org/r1688382
Log:
PDFBOX-2847: use scratchFile for mergeDocumentsNonSeq, as suggested by Jim deVos

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/PDFMergerUtility.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/PDFMergerUtility.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/PDFMergerUtility.java?rev=1688382&r1=1688381&r2=1688382&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/PDFMergerUtility.java
(original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/util/PDFMergerUtility.java
Tue Jun 30 07:32:44 2015
@@ -231,7 +231,7 @@ public class PDFMergerUtility
                     sourceFile = sit.next();
                     if (isNonSeq)
                     {
-                        source = PDDocument.loadNonSeq(sourceFile, null);
+                        source = PDDocument.loadNonSeq(sourceFile, scratchFile);
                     }
                     else
                     {



Mime
View raw message