aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFValueProxy.cc
blob: befaaf8b33591861362f4a5bd53467bcdeceaf74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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()
{
    // See comments in reset() for why this isn't part of reset.
    value = QPDF_Destroyed::getInstance();
}