diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-03-05 13:44:02 +0100 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2023-03-05 15:01:49 +0100 |
commit | b27be3ed27890ae8226560817f14c117927cee55 (patch) | |
tree | 26507e0b573a35033046ad2af8ebde66101e0ef5 /include/qpdf | |
parent | 284b8efbc6416d0a8dd1931385f68da1eaf271a2 (diff) | |
download | qpdf-b27be3ed27890ae8226560817f14c117927cee55.tar.zst |
Remove redundant parameter from QPDFJob::handlePageSpecs and doSplitPages
Diffstat (limited to 'include/qpdf')
-rw-r--r-- | include/qpdf/QPDFJob.hh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh index 3b6a3a27..9bf81fcc 100644 --- a/include/qpdf/QPDFJob.hh +++ b/include/qpdf/QPDFJob.hh @@ -517,10 +517,8 @@ class QPDFJob // Transformations void setQPDFOptions(QPDF& pdf); - void handlePageSpecs( - QPDF& pdf, - bool& warnings, - std::vector<std::shared_ptr<QPDF>>& page_heap); + void + handlePageSpecs(QPDF& pdf, std::vector<std::shared_ptr<QPDF>>& page_heap); bool shouldRemoveUnreferencedResources(QPDF& pdf); void handleRotations(QPDF& pdf); void @@ -549,7 +547,7 @@ class QPDFJob void doShowAttachment(QPDF& pdf); // Output generation - void doSplitPages(QPDF& pdf, bool& warnings); + void doSplitPages(QPDF& pdf); void setWriterOptions(QPDF& pdf, QPDFWriter& w); void setEncryptionOptions(QPDF&, QPDFWriter&); void maybeFixWritePassword(int R, std::string& password); |