diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-08-02 22:35:04 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2022-09-01 15:19:34 +0200 |
commit | 431bd666c0504af0c8a016a96a73b7efbf9737c9 (patch) | |
tree | 26fcbcb8e62fcb87aa1a694fad5172f92c6eab7c /libqpdf/QPDFValue.cc | |
parent | 43983109f25ba12db3fded12d0ea9a991b8a1d5c (diff) | |
download | qpdf-431bd666c0504af0c8a016a96a73b7efbf9737c9.tar.zst |
Split QPDFObject into QPDFObject and QPDFValue
Diffstat (limited to 'libqpdf/QPDFValue.cc')
-rw-r--r-- | libqpdf/QPDFValue.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libqpdf/QPDFValue.cc b/libqpdf/QPDFValue.cc new file mode 100644 index 00000000..8a6222d2 --- /dev/null +++ b/libqpdf/QPDFValue.cc @@ -0,0 +1,11 @@ +#include <qpdf/QPDFValue.hh> + +#include <qpdf/QPDFObject.hh> + +std::shared_ptr<QPDFObject> +QPDFValue::do_create(QPDFValue* object) +{ + std::shared_ptr<QPDFObject> obj(new QPDFObject()); + obj->value = std::shared_ptr<QPDFValue>(object); + return obj; +} |