aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFValue.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-09-05 15:15:14 +0200
committerJay Berkenbilt <ejb@ql.org>2022-09-06 00:52:59 +0200
commit6c61be00e8366d467e7e4c82a6d91a4d074a1181 (patch)
tree610ccf8c637cdd778e734c15d1e94bcd68e9f30f /libqpdf/QPDFValue.cc
parent5d65e73ca719fdb921f627e3789920ea60c66f01 (diff)
downloadqpdf-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/QPDFValue.cc')
-rw-r--r--libqpdf/QPDFValue.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libqpdf/QPDFValue.cc b/libqpdf/QPDFValue.cc
index 8a6222d2..957cc350 100644
--- a/libqpdf/QPDFValue.cc
+++ b/libqpdf/QPDFValue.cc
@@ -1,11 +1,11 @@
#include <qpdf/QPDFValue.hh>
-#include <qpdf/QPDFObject.hh>
+#include <qpdf/QPDFValueProxy.hh>
-std::shared_ptr<QPDFObject>
+std::shared_ptr<QPDFValueProxy>
QPDFValue::do_create(QPDFValue* object)
{
- std::shared_ptr<QPDFObject> obj(new QPDFObject());
+ std::shared_ptr<QPDFValueProxy> obj(new QPDFValueProxy());
obj->value = std::shared_ptr<QPDFValue>(object);
return obj;
}