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_Stream.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_Stream.cc')
-rw-r--r-- | libqpdf/QPDF_Stream.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libqpdf/QPDF_Stream.cc b/libqpdf/QPDF_Stream.cc index 4e5e2013..bf11bd92 100644 --- a/libqpdf/QPDF_Stream.cc +++ b/libqpdf/QPDF_Stream.cc @@ -130,7 +130,7 @@ QPDF_Stream::QPDF_Stream( qpdf, qpdf->getFilename() + ", stream object " + og.unparse(' ')); } -std::shared_ptr<QPDFObject> +std::shared_ptr<QPDFValueProxy> QPDF_Stream::create( QPDF* qpdf, QPDFObjGen const& og, @@ -141,7 +141,7 @@ QPDF_Stream::create( return do_create(new QPDF_Stream(qpdf, og, stream_dict, offset, length)); } -std::shared_ptr<QPDFObject> +std::shared_ptr<QPDFValueProxy> QPDF_Stream::shallowCopy() { throw std::logic_error("stream objects cannot be cloned"); |