diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-07-23 17:48:28 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2022-07-24 17:02:35 +0200 |
commit | f7978db1f604083c16733952d2b01d3b0f4b0a6a (patch) | |
tree | 44bb02e178aa305ca06a0140dbefe9748a72bc0f /libqpdf/QPDF_optimization.cc | |
parent | 3404ca8ac8e19ccba5ff2d7426081a593880f1c0 (diff) | |
download | qpdf-f7978db1f604083c16733952d2b01d3b0f4b0a6a.tar.zst |
QPDFObjGen : tidy QPDF private methods
Change method signatures to use QPDFObjGen.
Use QPDFObjGen methods where possible.
Remove redundant QPDF::objGenToIndirect.
Diffstat (limited to 'libqpdf/QPDF_optimization.cc')
-rw-r--r-- | libqpdf/QPDF_optimization.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libqpdf/QPDF_optimization.cc b/libqpdf/QPDF_optimization.cc index 1fd6da6f..cafdbe64 100644 --- a/libqpdf/QPDF_optimization.cc +++ b/libqpdf/QPDF_optimization.cc @@ -252,9 +252,7 @@ QPDF::pushInheritedAttributesToPageInternal( if ((warn_skipped_keys) && (cur_pages.hasKey("/Parent"))) { QTC::TC("qpdf", "QPDF unknown key not inherited"); setLastObjectDescription( - "Pages object", - cur_pages.getObjectID(), - cur_pages.getGeneration()); + "Pages object", cur_pages.getObjGen()); warn( qpdf_e_pages, this->m->last_object_description, |