diff options
Diffstat (limited to 'libqpdf/QPDFWriter.cc')
-rw-r--r-- | libqpdf/QPDFWriter.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libqpdf/QPDFWriter.cc b/libqpdf/QPDFWriter.cc index d37b8d4a..7dd0d54d 100644 --- a/libqpdf/QPDFWriter.cc +++ b/libqpdf/QPDFWriter.cc @@ -980,10 +980,6 @@ QPDFWriter::enqueueObject(QPDFObjectHandle object) " another file."); } - if (object.isNull()) - { - // This is a place-holder object for an object stream - } QPDFObjGen og = object.getObjGen(); if (obj_renumber.count(og) == 0) @@ -2014,10 +2010,7 @@ QPDFWriter::prepareFileForWrite() // Do a traversal of the entire PDF file structure replacing all // indirect objects that QPDFWriter wants to be direct. This // includes stream lengths, stream filtering parameters, and - // document extension level information. Also replace all - // indirect null references with direct nulls. This way, the only - // indirect nulls queued for output will be object stream place - // holders. + // document extension level information. std::list<QPDFObjectHandle> queue; queue.push_back(getTrimmedTrailer()); |