diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-07-12 19:40:30 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2022-08-01 14:29:14 +0200 |
commit | 0356bcecc5f58b64d2cf02c68ca1934446cea9cb (patch) | |
tree | 9ab3865e71efefc3288da74210666f950e611c4b /include | |
parent | ff69773b35480de41f86f410a120524c4d57d5c0 (diff) | |
download | qpdf-0356bcecc5f58b64d2cf02c68ca1934446cea9cb.tar.zst |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDF.hh | 4 |
1 files changed, 1 insertions, 3 deletions
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::string, std::vector<QPDFObjectHandle>>&, - std::vector<QPDFObjectHandle>& all_pages, bool allow_changes, - bool warn_skipped_keys, - std::set<QPDFObjGen>& visited); + bool warn_skipped_keys); void updateObjectMaps( ObjUser const& ou, QPDFObjectHandle oh, |