pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1850030 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
Date Mon, 31 Dec 2018 10:24:08 GMT
Author: tilman
Date: Mon Dec 31 10:24:08 2018
New Revision: 1850030

URL: http://svn.apache.org/viewvc?rev=1850030&view=rev
Log:
PDFBOX-4009: no need to reset anything if structure tree is not merged, it just means that
the destination structure tree and settings are kept they exist

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=1850030&r1=1850029&r2=1850030&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
Mon Dec 31 10:24:08 2018
@@ -732,14 +732,6 @@ public class PDFMergerUtility
                     }
                 }
             }
-            if (destMark != null && destMark.isMarked() && !mergeStructTree)
-            {
-                destMark.setMarked(false);
-            }
-            if (!mergeStructTree)
-            {
-                destCatalog.setStructureTreeRoot(null);
-            }
         }
 
         Map<COSDictionary, COSDictionary> objMapping = new HashMap<COSDictionary,
COSDictionary>();



Mime
View raw message