Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • qpdf
  • libqpdf
  • QPDFValueProxy.cc
  • Change reset to disconnect and clarify comments ...
    c7a4967d
    I decided that it's actually fine to copy a direct object to another
    QPDF. Even if we eventually prevent a QPDFObject from having multiple
    parents, this could happen if an object is moved.
    Jay Berkenbilt authored
    2022-09-08 11:06:15 -0400  
    Browse Code ยป
QPDFValueProxy.cc 281 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include <qpdf/QPDFValueProxy.hh>

#include <qpdf/QPDF.hh>
#include <qpdf/QPDF_Destroyed.hh>

void
QPDFValueProxy::doResolve()
{
    auto og = value->og;
    QPDF::Resolver::resolve(value->qpdf, og);
}

void
QPDFValueProxy::destroy()
{
    value = QPDF_Destroyed::getInstance();
}