aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Dictionary.hh
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-11-14 18:54:12 +0100
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-11-20 18:07:22 +0100
commitdbc5f07b90954c18445ebe725b1a445745726864 (patch)
treeede2939e0ba2faf657e392b5ce413541e94aa832 /libqpdf/qpdf/QPDF_Dictionary.hh
parent34a6f8938f0e6d55eeb9f37c0ef23e02fec88932 (diff)
downloadqpdf-dbc5f07b90954c18445ebe725b1a445745726864.tar.zst
Rename QPDFObject::shallowCopy to copy
Add optional parameter shallow. Change logic errors to runtime errors.
Diffstat (limited to 'libqpdf/qpdf/QPDF_Dictionary.hh')
-rw-r--r--libqpdf/qpdf/QPDF_Dictionary.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/qpdf/QPDF_Dictionary.hh b/libqpdf/qpdf/QPDF_Dictionary.hh
index e6ec76fd..3354a256 100644
--- a/libqpdf/qpdf/QPDF_Dictionary.hh
+++ b/libqpdf/qpdf/QPDF_Dictionary.hh
@@ -14,7 +14,7 @@ class QPDF_Dictionary: public QPDFValue
virtual ~QPDF_Dictionary() = default;
static std::shared_ptr<QPDFObject>
create(std::map<std::string, QPDFObjectHandle> const& items);
- virtual std::shared_ptr<QPDFObject> shallowCopy();
+ virtual std::shared_ptr<QPDFObject> copy(bool shallow = false);
virtual std::string unparse();
virtual JSON getJSON(int json_version);
virtual void disconnect();