mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 07:12:28 +00:00
parent
70d985f942
commit
9532dca3a5
@ -1588,7 +1588,7 @@ class QPDFObjectHandle
|
||||
void shallowCopyInternal(QPDFObjectHandle& oh, bool first_level_only);
|
||||
void releaseResolved();
|
||||
|
||||
void setParsedOffset(qpdf_offset_t offset);
|
||||
inline void setParsedOffset(qpdf_offset_t offset);
|
||||
void parseContentStream_internal(
|
||||
std::string const& description, ParserCallbacks* callbacks);
|
||||
static void parseContentStream_data(
|
||||
@ -1872,4 +1872,14 @@ QPDFObjectHandle::getOwningQPDF(
|
||||
return this->qpdf;
|
||||
}
|
||||
|
||||
inline void
|
||||
QPDFObjectHandle::setParsedOffset(qpdf_offset_t offset)
|
||||
{
|
||||
// This is called during parsing on newly created direct objects,
|
||||
// so we can't call dereference() here.
|
||||
if (this->obj.get()) {
|
||||
this->obj->setParsedOffset(offset);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // QPDFOBJECTHANDLE_HH
|
||||
|
@ -1944,16 +1944,6 @@ QPDFObjectHandle::getParsedOffset()
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
QPDFObjectHandle::setParsedOffset(qpdf_offset_t offset)
|
||||
{
|
||||
// This is called during parsing on newly created direct objects,
|
||||
// so we can't call dereference() here.
|
||||
if (this->obj.get()) {
|
||||
this->obj->setParsedOffset(offset);
|
||||
}
|
||||
}
|
||||
|
||||
QPDFObjectHandle
|
||||
QPDFObjectHandle::newIndirect(QPDF* qpdf, QPDFObjGen const& og)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user