aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-08-02 23:57:33 +0200
committerm-holger <m-holger@kubitscheck.org>2022-09-01 15:27:46 +0200
commit27fae2b55e835a41277df78f090d4baf6fe05c1e (patch)
tree2cc00679f40d6a62a08f90999f7cdb539e7d2d13 /include
parent431bd666c0504af0c8a016a96a73b7efbf9737c9 (diff)
downloadqpdf-27fae2b55e835a41277df78f090d4baf6fe05c1e.tar.zst
Remove QPDF::ObjectChanged
Also change QPDF::replaceObject and QPDF::swapObjects such that the QPDFObject assigned to an og in the obj_cache is never replaced; only QPDFObject::value is updated.
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 469bad55..701c5e55 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -851,12 +851,6 @@ class QPDF
{
return qpdf->resolve(og);
}
- static bool
- objectChanged(
- QPDF* qpdf, QPDFObjGen const& og, std::shared_ptr<QPDFObject>& oph)
- {
- return qpdf->objectChanged(og, oph);
- }
};
friend class Resolver;
@@ -1174,7 +1168,6 @@ class QPDF
std::string const& description,
QPDFObjGen const& exp_og,
QPDFObjGen& og);
- bool objectChanged(QPDFObjGen const& og, std::shared_ptr<QPDFObject>& oph);
std::shared_ptr<QPDFObject> resolve(QPDFObjGen const& og);
void resolveObjectsInStream(int obj_stream_number);
void stopOnError(std::string const& message);
@@ -1729,7 +1722,6 @@ class QPDF
bool in_parse;
bool parsed;
std::set<int> resolved_object_streams;
- bool ever_replaced_objects;
// Linearization data
qpdf_offset_t first_xref_item_offset; // actual value from file