diff options
Diffstat (limited to 'libqpdf/QPDF_Dictionary.cc')
-rw-r--r-- | libqpdf/QPDF_Dictionary.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libqpdf/QPDF_Dictionary.cc b/libqpdf/QPDF_Dictionary.cc index 9453b64a..be3c5dcd 100644 --- a/libqpdf/QPDF_Dictionary.cc +++ b/libqpdf/QPDF_Dictionary.cc @@ -9,6 +9,18 @@ QPDF_Dictionary::QPDF_Dictionary( { } +std::shared_ptr<QPDFObject> +QPDF_Dictionary::create(std::map<std::string, QPDFObjectHandle> const& items) +{ + return do_create(new QPDF_Dictionary(items)); +} + +std::shared_ptr<QPDFObject> +QPDF_Dictionary::shallowCopy() +{ + return create(items); +} + void QPDF_Dictionary::releaseResolved() { |