diff options
author | Jay Berkenbilt <ejb@ql.org> | 2012-06-21 15:12:51 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2012-06-21 21:01:02 +0200 |
commit | df493c352f3936b7b6597791c289175dffb3db57 (patch) | |
tree | b34592f54ea1e3f130d06ce5d7acd2a054c81f2c /include | |
parent | 5d3f93be29800dd0eb876c3062451d32e7798948 (diff) | |
download | qpdf-df493c352f3936b7b6597791c289175dffb3db57.tar.zst |
Refactor optimizePagesTree
Split optimizePagesTree into a simpler top-level routine and a
recursive internal routine.
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDF.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index 8d8f4a3e..04a254bc 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -873,7 +873,8 @@ class QPDF // Methods to support optimization - void optimizePagesTree( + void optimizePagesTree(bool allow_changes); + void optimizePagesTreeInternal( QPDFObjectHandle, std::map<std::string, std::vector<QPDFObjectHandle> >&, int& pageno, bool allow_changes); |