diff options
Diffstat (limited to 'examples/pdf-parse-content.cc')
-rw-r--r-- | examples/pdf-parse-content.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pdf-parse-content.cc b/examples/pdf-parse-content.cc index 0394e938..7f11be05 100644 --- a/examples/pdf-parse-content.cc +++ b/examples/pdf-parse-content.cc @@ -74,7 +74,7 @@ int main(int argc, char* argv[]) usage(); } - QPDFObjectHandle page = pages[pageno-1]; + QPDFObjectHandle page = pages.at(pageno-1); QPDFObjectHandle contents = page.getKey("/Contents"); ParserCallbacks cb; QPDFObjectHandle::parseContentStream(contents, &cb); |