mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-31 01:10:51 +00:00
Fixed missing throw
This commit is contained in:
parent
ffb96ee17e
commit
7f95ad5b92
|
@ -256,9 +256,9 @@ 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(),
|
||||
this->last_object_description, 0,
|
||||
"page object not referenced in /Pages tree");
|
||||
throw QPDFExc(qpdf_e_pages, this->file->getName(),
|
||||
this->last_object_description, 0,
|
||||
"page object not referenced in /Pages tree");
|
||||
}
|
||||
return (*it).second;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user