mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-23 07:08:30 +00:00
Fixed missing throw
This commit is contained in:
parent
ffb96ee17e
commit
7f95ad5b92
@ -256,7 +256,7 @@ QPDF::findPage(int objid, int generation)
|
||||
if (it == this->pageobj_to_pages_pos.end())
|
||||
{
|
||||
setLastObjectDescription("page object", objid, generation);
|
||||
QPDFExc(qpdf_e_pages, this->file->getName(),
|
||||
throw QPDFExc(qpdf_e_pages, this->file->getName(),
|
||||
this->last_object_description, 0,
|
||||
"page object not referenced in /Pages tree");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user