diff options
Diffstat (limited to 'libqpdf/QPDFPageDocumentHelper.cc')
-rw-r--r-- | libqpdf/QPDFPageDocumentHelper.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libqpdf/QPDFPageDocumentHelper.cc b/libqpdf/QPDFPageDocumentHelper.cc index 048319f5..74b21e82 100644 --- a/libqpdf/QPDFPageDocumentHelper.cc +++ b/libqpdf/QPDFPageDocumentHelper.cc @@ -148,8 +148,7 @@ QPDFPageDocumentHelper::flattenAnnotationsForPage( "/Resources", as_resources.shallowCopy()); as_resources = as.getDict().getKey("/Resources"); } - as_resources.mergeResources( - ff.getInheritableFieldValue("/DR")); + as_resources.mergeResources(ff.getDefaultResources()); } else { |