From 9a10940774b3d8ee2d0ce93388f9daf91aaa52e7 Mon Sep 17 00:00:00 2001 From: Tilman Hausherr Date: Sun, 27 Oct 2024 05:18:07 +0000 Subject: [PATCH] PDFBOX-5891: add empty constructor git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1921583 13f79535-47bb-0310-9956-ffa450edef68 --- .../viewerpreferences/PDViewerPreferences.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/viewerpreferences/PDViewerPreferences.java b/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/viewerpreferences/PDViewerPreferences.java index 452abbaccab..9dcd415878e 100644 --- a/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/viewerpreferences/PDViewerPreferences.java +++ b/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/viewerpreferences/PDViewerPreferences.java @@ -130,6 +130,14 @@ public enum PRINT_SCALING private final COSDictionary prefs; + /** + * Constructor. + */ + public PDViewerPreferences() + { + this.prefs = new COSDictionary(); + } + /** * Constructor that is used for a preexisting dictionary. *