aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qpdf-job.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qpdf-job.cc')
-rw-r--r--examples/qpdf-job.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/qpdf-job.cc b/examples/qpdf-job.cc
index 3e6e99bd..c2952ee5 100644
--- a/examples/qpdf-job.cc
+++ b/examples/qpdf-job.cc
@@ -40,7 +40,9 @@ main(int argc, char* argv[])
->inputFile("in.pdf")
->outputFile("out1.pdf")
->pages()
- ->pageSpec(".", "1")
+ // Prior to qpdf 11.9.0, call ->pageSpec(file, range, password)
+ ->file(".")
+ ->range("1")
->endPages()
->linearize()
->staticId() // for testing only