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 2018/05/17 21:47:28 UTC

svn commit: r1831817 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java

Author: tilman
Date: Thu May 17 21:47:27 2018
New Revision: 1831817

URL: http://svn.apache.org/viewvc?rev=1831817&view=rev
Log:
PDFBOX-4223: be lenient when encountering invalid /OpenAction

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=1831817&r1=1831816&r2=1831817&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 May 17 21:47:27 2018
@@ -495,7 +495,7 @@ public class PDFMergerUtility
                 }
             }
 
-            destCatalog.setOpenAction(srcCatalog.getOpenAction());
+            destCatalog.setOpenAction(openAction);
         }
 
         PDFCloneUtility cloner = new PDFCloneUtility(destination);