aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-07-12 19:40:30 +0200
committerm-holger <m-holger@kubitscheck.org>2022-08-01 14:29:14 +0200
commit0356bcecc5f58b64d2cf02c68ca1934446cea9cb (patch)
tree9ab3865e71efefc3288da74210666f950e611c4b /include
parentff69773b35480de41f86f410a120524c4d57d5c0 (diff)
downloadqpdf-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.hh4
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,