From b802ca47e9ec854bc7cd11311ccce0ffdbf5165e Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 30 Nov 2013 16:04:21 -0500 Subject: Comments about incremental update support Also remove some trivial, non-functional code. --- libqpdf/QPDFWriter.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libqpdf') 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 queue; queue.push_back(getTrimmedTrailer()); -- cgit v1.2.3-54-g00ecf