diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-11-20 13:30:05 +0100 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-11-20 18:07:22 +0100 |
commit | 63d1dcb414ad92cae857da636f242b34acac394b (patch) | |
tree | f14b0974e1cb5f8be4014888a82243b164aca8ce /include | |
parent | dbc5f07b90954c18445ebe725b1a445745726864 (diff) | |
download | qpdf-63d1dcb414ad92cae857da636f242b34acac394b.tar.zst |
Split QPDFObjectHandle::shallowCopyInternal and copyObject
Have separate versions for unsafeShallowCopy, shallowCopy and makeDirect.
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFObjectHandle.hh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index 3610422e..b186d4f8 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -1628,12 +1628,23 @@ class QPDFObjectHandle void objectWarning(std::string const& warning); void assertType(char const* type_name, bool istype); bool dereference(); + void copyObject1( + std::set<QPDFObjGen>& visited, + bool cross_indirect, + bool first_level_only, + bool stop_at_streams); + void shallowCopyInternal1(QPDFObjectHandle& oh, bool first_level_only); + void copyObject2( + std::set<QPDFObjGen>& visited, + bool cross_indirect, + bool first_level_only, + bool stop_at_streams); + void shallowCopyInternal2(QPDFObjectHandle& oh, bool first_level_only); void copyObject( std::set<QPDFObjGen>& visited, bool cross_indirect, bool first_level_only, bool stop_at_streams); - void shallowCopyInternal(QPDFObjectHandle& oh, bool first_level_only); void disconnect(); void setParsedOffset(qpdf_offset_t offset); void parseContentStream_internal( |