Restore garbage removal on podofo save as we now bundle a version of podofo with the fix

This commit is contained in:
Kovid Goyal 2023-11-16 20:08:10 +05:30
parent ae5ea18ccf
commit dec4f9f82e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -130,8 +130,7 @@ object_as_reference(const PdfObject *o) {
}
// NoMetadataUpdate needed to avoid PoDoFo clobbering the /Info and XMP metadata with its own nonsense
// NoCollectGarbage needed to avoid slowdowns on writing, see https://github.com/podofo/podofo/issues/108
static const PdfSaveOptions save_options = PdfSaveOptions::NoMetadataUpdate | PdfSaveOptions::NoCollectGarbage;
static const PdfSaveOptions save_options = PdfSaveOptions::NoMetadataUpdate;
class PdfReferenceHasher {
public: