aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDF.hh
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-07-23 14:47:18 +0200
committerm-holger <m-holger@kubitscheck.org>2022-07-24 16:59:49 +0200
commitc0168cf88c79c9b55a81f86892432f006b9c4d07 (patch)
tree5239446d0e7d2a82f674f5b398da4cb4a40c28c3 /include/qpdf/QPDF.hh
parent6ea17d1f0e68bc4cced99f0a046f2a605a365ec8 (diff)
downloadqpdf-c0168cf88c79c9b55a81f86892432f006b9c4d07.tar.zst
QPPFObjGen : tidy QPDF::readObjectAtOffset
Change method signature to use QPDFObjGen.
Diffstat (limited to 'include/qpdf/QPDF.hh')
-rw-r--r--include/qpdf/QPDF.hh6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index f0c9f6b4..aba3369e 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -1146,10 +1146,8 @@ class QPDF
bool attempt_recovery,
qpdf_offset_t offset,
std::string const& description,
- int exp_objid,
- int exp_generation,
- int& act_objid,
- int& act_generation);
+ QPDFObjGen const& exp_og,
+ QPDFObjGen& og);
bool objectChanged(QPDFObjGen const& og, std::shared_ptr<QPDFObject>& oph);
std::shared_ptr<QPDFObject> resolve(int objid, int generation);
void resolveObjectsInStream(int obj_stream_number);