diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-04-24 00:03:44 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-04-24 00:25:43 +0200 |
commit | 68e721981a1fe4f1398d811bb8ed99af0e100da8 (patch) | |
tree | d2990289f704e96bd8853891846119e02d0a12f0 /libqpdf/QPDF_optimization.cc | |
parent | 696ca53205fd725062b541fea88d9f36742a4c74 (diff) | |
download | qpdf-68e721981a1fe4f1398d811bb8ed99af0e100da8.tar.zst |
Add new QPDF::warn that takes most of QPDFExc's arguments
Diffstat (limited to 'libqpdf/QPDF_optimization.cc')
-rw-r--r-- | libqpdf/QPDF_optimization.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libqpdf/QPDF_optimization.cc b/libqpdf/QPDF_optimization.cc index c76e255d..0c453126 100644 --- a/libqpdf/QPDF_optimization.cc +++ b/libqpdf/QPDF_optimization.cc @@ -266,15 +266,14 @@ QPDF::pushInheritedAttributesToPageInternal( "Pages object", cur_pages.getObjectID(), cur_pages.getGeneration()); - warn(QPDFExc( + warn( qpdf_e_pages, - this->m->file->getName(), this->m->last_object_description, 0, - "Unknown key " + key + - " in /Pages object" - " is being discarded as a result of" - " flattening the /Pages tree")); + ("Unknown key " + key + + " in /Pages object" + " is being discarded as a result of" + " flattening the /Pages tree")); } } } |