mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 02:49:00 +00:00
Fix QPDF::getAllPagesInternal warning
Provide correct obj_gen.
This commit is contained in:
parent
54cf0e519c
commit
1d2c0c2f99
@ -94,7 +94,7 @@ QPDF::getAllPagesInternal(
|
||||
throw QPDFExc(
|
||||
qpdf_e_pages,
|
||||
m->file->getName(),
|
||||
m->last_object_description,
|
||||
"object " + cur_node.getObjGen().unparse(' '),
|
||||
0,
|
||||
"Loop detected in /Pages structure (getAllPages)");
|
||||
}
|
||||
|
@ -2,5 +2,5 @@ checking pages-loop.pdf
|
||||
PDF Version: 1.3
|
||||
File is not encrypted
|
||||
File is not linearized
|
||||
ERROR: pages-loop.pdf (object 3 0): Loop detected in /Pages structure (getAllPages)
|
||||
ERROR: pages-loop.pdf (object 2 0): Loop detected in /Pages structure (getAllPages)
|
||||
qpdf: errors detected
|
||||
|
Loading…
Reference in New Issue
Block a user