diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-09-05 15:15:14 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-09-06 00:52:59 +0200 |
commit | 6c61be00e8366d467e7e4c82a6d91a4d074a1181 (patch) | |
tree | 610ccf8c637cdd778e734c15d1e94bcd68e9f30f /libqpdf/QPDF.cc | |
parent | 5d65e73ca719fdb921f627e3789920ea60c66f01 (diff) | |
download | qpdf-6c61be00e8366d467e7e4c82a6d91a4d074a1181.tar.zst |
Rename QPDFObject -> QPDFValueProxy
This is in preparation for restoring a QPDFObject.hh to ease the
transition on qpdf_object_type_e.
This commit was created by
* Renaming QPDFObject.cc and QPDFObject.hh
* Replacing QPDFObject\b with QPDFValueProxy (where \b is word
boundary)
* Running format-code
* Manually resorting files in libqpdf/CMakeLists.txt
* Manually refilling the comment in QPDF.hh near class Resolver
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r-- | libqpdf/QPDF.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc index 15636d34..aa97de4b 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -21,7 +21,7 @@ #include <qpdf/Pl_OStream.hh> #include <qpdf/QPDFExc.hh> #include <qpdf/QPDFLogger.hh> -#include <qpdf/QPDFObject.hh> +#include <qpdf/QPDFValueProxy.hh> #include <qpdf/QPDF_Array.hh> #include <qpdf/QPDF_Dictionary.hh> #include <qpdf/QPDF_Null.hh> @@ -2114,7 +2114,8 @@ QPDF::resolveObjectsInStream(int obj_stream_number) } QPDFObjectHandle -QPDF::newIndirect(QPDFObjGen const& og, std::shared_ptr<QPDFObject> const& obj) +QPDF::newIndirect( + QPDFObjGen const& og, std::shared_ptr<QPDFValueProxy> const& obj) { obj->setObjGen(this, og); if (!obj->hasDescription()) { @@ -2126,7 +2127,7 @@ QPDF::newIndirect(QPDFObjGen const& og, std::shared_ptr<QPDFObject> const& obj) void QPDF::updateCache( QPDFObjGen const& og, - std::shared_ptr<QPDFObject> const& object, + std::shared_ptr<QPDFValueProxy> const& object, qpdf_offset_t end_before_space, qpdf_offset_t end_after_space) { |