Skip to content

Commit

Permalink
PDFBOX-5891: use new empty constructor
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1921585 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Oct 27, 2024
1 parent 9a10940 commit 2b172df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ private void mergeViewerPreferences(PDDocumentCatalog destCatalog, PDDocumentCat
PDViewerPreferences destViewerPreferences = destCatalog.getViewerPreferences();
if (destViewerPreferences == null)
{
destViewerPreferences = new PDViewerPreferences(new COSDictionary());
destViewerPreferences = new PDViewerPreferences();
destCatalog.setViewerPreferences(destViewerPreferences);
}
mergeInto(srcViewerPreferences.getCOSObject(), destViewerPreferences.getCOSObject(),
Expand Down

0 comments on commit 2b172df

Please sign in to comment.