diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc index 71a1efe..0362bf0 100644 --- a/poppler/PDFDoc.cc +++ b/poppler/PDFDoc.cc @@ -1561,9 +1561,7 @@ void PDFDoc::replacePageDict(int pageNo, int rotate, void PDFDoc::markPageObjects(Dict *pageDict, XRef *xRef, XRef *countRef, Guint numOffset, int oldRefNum, int newRefNum) { - pageDict->remove("Names"); pageDict->remove("OpenAction"); - pageDict->remove("Outlines"); pageDict->remove("StructTreeRoot"); for (int n = 0; n < pageDict->getLength(); n++) {