aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFObjectHandle.hh
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-11-20 14:56:03 +0100
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-11-20 18:07:22 +0100
commit0289b21c3b4d4d32b665e793dbf354ea34a23818 (patch)
tree1f261e72977fc3fdf24cdae2d1d580e6d29692dc /include/qpdf/QPDFObjectHandle.hh
parent15e8d3a763e066e1a8d2bd54cc1e2117a54f7d7c (diff)
downloadqpdf-0289b21c3b4d4d32b665e793dbf354ea34a23818.tar.zst
Remove redundant QPDFObjectHandle::copyObject2
copyObject2 repeats a second time what new_obj = QPDFObjectHandle(obj->copy(true)) in shallowCopyInternal2 already did.
Diffstat (limited to 'include/qpdf/QPDFObjectHandle.hh')
-rw-r--r--include/qpdf/QPDFObjectHandle.hh1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh
index 718952fe..de9f51e9 100644
--- a/include/qpdf/QPDFObjectHandle.hh
+++ b/include/qpdf/QPDFObjectHandle.hh
@@ -1634,7 +1634,6 @@ class QPDFObjectHandle
bool first_level_only,
bool stop_at_streams);
void shallowCopyInternal1(QPDFObjectHandle& oh, bool first_level_only);
- void copyObject2(std::set<QPDFObjGen>& visited);
void shallowCopyInternal2(QPDFObjectHandle& oh);
void copyObject(
std::set<QPDFObjGen>& visited,