diff options
author | Jay Berkenbilt <ejb@ql.org> | 2013-11-30 22:04:21 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2013-12-14 21:17:36 +0100 |
commit | b802ca47e9ec854bc7cd11311ccce0ffdbf5165e (patch) | |
tree | 6d2ebd6daccb5365f63b531623291b3f6b4409f8 /libqpdf/QPDFWriter.cc | |
parent | cdff7a49669956ab8b6bd82741199d8f50c5b35a (diff) | |
download | qpdf-b802ca47e9ec854bc7cd11311ccce0ffdbf5165e.tar.zst |
Comments about incremental update support
Also remove some trivial, non-functional code.
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()); |