diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-07-23 15:15:55 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2022-07-24 16:59:49 +0200 |
commit | b123f79dfd5015453bdbf5d53f8225d73b6b20aa (patch) | |
tree | 8f763910bd1e24a3044902e3499e3996ff832302 /include | |
parent | c0168cf88c79c9b55a81f86892432f006b9c4d07 (diff) | |
download | qpdf-b123f79dfd5015453bdbf5d53f8225d73b6b20aa.tar.zst |
Replace QPDFObjectHandle::objid and generation with QPDFObjectHandle::og
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFObjectHandle.hh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index 804b76c7..fa96c4b0 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -1550,7 +1550,7 @@ class QPDFObjectHandle bool isImage(bool exclude_imagemask = true); private: - QPDFObjectHandle(QPDF*, int objid, int generation); + QPDFObjectHandle(QPDF*, QPDFObjGen const& og); QPDFObjectHandle(std::shared_ptr<QPDFObject> const&); enum parser_state_e { @@ -1617,8 +1617,7 @@ class QPDFObjectHandle // a substantial performance penalty since QPDFObjectHandle // objects are copied around so frequently. QPDF* qpdf; - int objid; // 0 for direct object - int generation; + QPDFObjGen og; std::shared_ptr<QPDFObject> obj; bool reserved; }; |