pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1814774 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
Date Thu, 09 Nov 2017 20:38:04 GMT
Author: tilman
Date: Thu Nov  9 20:38:04 2017
New Revision: 1814774

URL: http://svn.apache.org/viewvc?rev=1814774&view=rev
Log:
PDFBOX-3999: condition is always true, thanks Dave Hill

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java?rev=1814774&r1=1814773&r2=1814774&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java Thu
Nov  9 20:38:04 2017
@@ -642,10 +642,7 @@ public class PDFMergerUtility
             {
                 updateParentEntry(destKArray, kDictLevel0);
                 newKArray.addAll(destKArray);
-                if (mergeStructTree)
-                {
-                    updateParentEntry(srcKArray, kDictLevel0);
-                }
+                updateParentEntry(srcKArray, kDictLevel0);
                 newKArray.addAll(srcKArray);
             }
             kDictLevel0.setItem(COSName.K, newKArray);



Mime
View raw message