diff options
Diffstat (limited to 'libqpdf/QPDF_Dictionary.cc')
-rw-r--r-- | libqpdf/QPDF_Dictionary.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libqpdf/QPDF_Dictionary.cc b/libqpdf/QPDF_Dictionary.cc index 41760993..00d9f098 100644 --- a/libqpdf/QPDF_Dictionary.cc +++ b/libqpdf/QPDF_Dictionary.cc @@ -21,6 +21,14 @@ QPDF_Dictionary::shallowCopy() return create(items); } +void +QPDF_Dictionary::reset() +{ + for (auto& iter: this->items) { + QPDFObjectHandle::Resetter::reset(iter.second); + } +} + std::string QPDF_Dictionary::unparse() { |