diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-05-27 19:19:52 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-06-02 17:00:40 +0200 |
commit | 3c5700c255f4603b5df9c6d183d13dd71a083cc3 (patch) | |
tree | 0f01c62c54b56d009b341922fa3441907a2e560b /libqpdf/QPDFObjectHandle.cc | |
parent | 6e6a73d28f5f61f038209a61a3e85995dc71aa32 (diff) | |
download | qpdf-3c5700c255f4603b5df9c6d183d13dd71a083cc3.tar.zst |
Code tidy - reflow comments and strings
Diffstat (limited to 'libqpdf/QPDFObjectHandle.cc')
-rw-r--r-- | libqpdf/QPDFObjectHandle.cc | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc index fa5e52e8..3797ad12 100644 --- a/libqpdf/QPDFObjectHandle.cc +++ b/libqpdf/QPDFObjectHandle.cc @@ -229,11 +229,9 @@ QPDFObjectHandle::isSameObjectAs(QPDFObjectHandle const& rhs) const void QPDFObjectHandle::disconnect() { - // Recursively remove association with any QPDF object. This - // method may only be called during final destruction. - // QPDF::~QPDF() calls it for indirect objects using the object - // pointer itself, so we don't do that here. Other objects call it - // through this method. + // Recursively remove association with any QPDF object. This method may only be called during + // final destruction. QPDF::~QPDF() calls it for indirect objects using the object pointer + // itself, so we don't do that here. Other objects call it through this method. if (!isIndirect()) { this->obj->disconnect(); } @@ -1783,10 +1781,9 @@ QPDFObjectHandle::parseContentStream_data( tokenizer.allowEOF(); bool empty = false; while (QIntC::to_size(input->tell()) < stream_length) { - // Read a token and seek to the beginning. The offset we get - // from this process is the beginning of the next - // non-ignorable (space, comment) token. This way, the offset - // and don't including ignorable content. + // Read a token and seek to the beginning. The offset we get from this process is the + // beginning of the next non-ignorable (space, comment) token. This way, the offset and + // don't including ignorable content. tokenizer.readToken(input, "content", true); qpdf_offset_t offset = input->getLastOffset(); input->seek(offset, SEEK_SET); |