From 0356bcecc5f58b64d2cf02c68ca1934446cea9cb Mon Sep 17 00:00:00 2001 From: m-holger Date: Tue, 12 Jul 2022 18:40:30 +0100 Subject: Tidy QPDF::pushInheritedAttributesToPageInternal Remove unnecessary parameters. Remove code that is unnecessary as result of a prior call to QPDF::getAllPages. Avoid clearing and rebuilding of m->all_pages. --- include/qpdf/QPDF.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index d563fe8f..64f31edd 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -1616,10 +1616,8 @@ class QPDF void pushInheritedAttributesToPageInternal( QPDFObjectHandle, std::map>&, - std::vector& all_pages, bool allow_changes, - bool warn_skipped_keys, - std::set& visited); + bool warn_skipped_keys); void updateObjectMaps( ObjUser const& ou, QPDFObjectHandle oh, -- cgit v1.2.3-54-g00ecf