You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2017/11/09 20:38:08 UTC
svn commit: r1814775 -
/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
Author: tilman
Date: Thu Nov 9 20:38:08 2017
New Revision: 1814775
URL: http://svn.apache.org/viewvc?rev=1814775&view=rev
Log:
PDFBOX-3999: condition is always true, thanks Dave Hill
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java?rev=1814775&r1=1814774&r2=1814775&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java Thu Nov 9 20:38:08 2017
@@ -652,10 +652,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);