diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-08-30 15:55:45 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2022-08-30 15:55:45 +0200 |
commit | 9532dca3a5692188c18f7ab5e959b395ebc80fd4 (patch) | |
tree | 124ada8e8eb3ced233c8210c377daf064cf068c2 /libqpdf/QPDFObjectHandle.cc | |
parent | 70d985f942cb554837163da8746e6abf7ef0ade3 (diff) | |
download | qpdf-9532dca3a5692188c18f7ab5e959b395ebc80fd4.tar.zst |
Inline QPDFObjectHandle::setParsedOffset
Part of #729
Diffstat (limited to 'libqpdf/QPDFObjectHandle.cc')
-rw-r--r-- | libqpdf/QPDFObjectHandle.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libqpdf/QPDFObjectHandle.cc b/libqpdf/QPDFObjectHandle.cc index 1f6d96e0..2227a77b 100644 --- a/libqpdf/QPDFObjectHandle.cc +++ b/libqpdf/QPDFObjectHandle.cc @@ -1944,16 +1944,6 @@ QPDFObjectHandle::getParsedOffset() } } -void -QPDFObjectHandle::setParsedOffset(qpdf_offset_t offset) -{ - // This is called during parsing on newly created direct objects, - // so we can't call dereference() here. - if (this->obj.get()) { - this->obj->setParsedOffset(offset); - } -} - QPDFObjectHandle QPDFObjectHandle::newIndirect(QPDF* qpdf, QPDFObjGen const& og) { |