Initial support for reading pages dictionary.

This commit is contained in:
Michael R Sweet
2021-05-08 22:50:18 -04:00
parent e1c145b10a
commit 5f43761537
5 changed files with 104 additions and 6 deletions

View File

@@ -450,7 +450,7 @@ pdfioArrayGetObject(pdfio_array_t *a, // I - Array
if (!a || n >= a->num_values || a->values[n].type != PDFIO_VALTYPE_INDIRECT)
return (NULL);
else
return (pdfioFileGetObject(a->pdf, a->values[n].value.indirect.number));
return (pdfioFileFindObject(a->pdf, a->values[n].value.indirect.number));
}