aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Dictionary.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-09-04 01:58:53 +0200
committerm-holger <m-holger@kubitscheck.org>2022-09-04 11:41:18 +0200
commit9c86ba40d80ee3b58801dfe77e47fbc5a9dd6066 (patch)
treea438e346b4e124ba8babdec1effca4f8b9386a7d /libqpdf/QPDF_Dictionary.cc
parent6d2db68f2ecd1f8b0945bc982af7a9807436d881 (diff)
downloadqpdf-9c86ba40d80ee3b58801dfe77e47fbc5a9dd6066.tar.zst
Fix commit 805c1ad : Reset QPDFValue::qpdf and QPDFValue::og when ...
On destruction of the QPDF object replace all indirect object references with direct nulls. Remove all existing code to release resolved references. Fixes performance issue due to interaction of resetting QPDFValue::qpdf and og members and prior code.
Diffstat (limited to 'libqpdf/QPDF_Dictionary.cc')
-rw-r--r--libqpdf/QPDF_Dictionary.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/libqpdf/QPDF_Dictionary.cc b/libqpdf/QPDF_Dictionary.cc
index 845bcad8..be0104d0 100644
--- a/libqpdf/QPDF_Dictionary.cc
+++ b/libqpdf/QPDF_Dictionary.cc
@@ -21,14 +21,6 @@ QPDF_Dictionary::shallowCopy()
return create(items);
}
-void
-QPDF_Dictionary::releaseResolved()
-{
- for (auto& iter: this->items) {
- QPDFObjectHandle::ReleaseResolver::releaseResolved(iter.second);
- }
-}
-
std::string
QPDF_Dictionary::unparse()
{