diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-09-08 17:29:23 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-09-08 17:29:23 +0200 |
commit | 18a583e8d9c509039046330a64925fdc733bb277 (patch) | |
tree | bdc51202f6d6f8050db9dab4b91d73c626c4b459 /include/qpdf/QPDFObjectHandle.hh | |
parent | 25ccc7eae4b78e90d0fe6400abeba22ca4cd648e (diff) | |
download | qpdf-18a583e8d9c509039046330a64925fdc733bb277.tar.zst |
Rename QPDFValueProxy back to QPDFObject
QPDFValueProxy wasn't a good name for it. We decided the evil of
having the header file be named QPDFObject_private.hh was less than
the evil of having the class be named something other than what it
should have been named.
Diffstat (limited to 'include/qpdf/QPDFObjectHandle.hh')
-rw-r--r-- | include/qpdf/QPDFObjectHandle.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index 07fe3ad5..21f82e58 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -54,7 +54,7 @@ class QPDF_Real; class QPDF_Reserved; class QPDF_Stream; class QPDF_String; -class QPDFValueProxy; +class QPDFObject; class QPDFTokenizer; class QPDFExc; class Pl_QPDFTokenizer; @@ -1493,7 +1493,7 @@ class QPDFObjectHandle private: static QPDFObjectHandle - newIndirect(std::shared_ptr<QPDFValueProxy> const& obj) + newIndirect(std::shared_ptr<QPDFObject> const& obj) { return QPDFObjectHandle(obj); } @@ -1518,7 +1518,7 @@ class QPDFObjectHandle friend class QPDF; private: - static std::shared_ptr<QPDFValueProxy> + static std::shared_ptr<QPDFObject> getObject(QPDFObjectHandle& o) { if (!o.dereference()) { @@ -1617,7 +1617,7 @@ class QPDFObjectHandle bool isImage(bool exclude_imagemask = true); private: - QPDFObjectHandle(std::shared_ptr<QPDFValueProxy> const& obj) : + QPDFObjectHandle(std::shared_ptr<QPDFObject> const& obj) : obj(obj) { } @@ -1671,7 +1671,7 @@ class QPDFObjectHandle // Moving members of QPDFObjectHandle into a smart pointer incurs // a substantial performance penalty since QPDFObjectHandle // objects are copied around so frequently. - std::shared_ptr<QPDFValueProxy> obj; + std::shared_ptr<QPDFObject> obj; }; #ifndef QPDF_NO_QPDF_STRING |