diff options
Diffstat (limited to 'libqpdf/QPDF.cc')
-rw-r--r-- | libqpdf/QPDF.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc index b51c5571..9ad33376 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -1989,7 +1989,7 @@ QPDF::resolve(int objid, int generation) this->m->file->getLastOffset(), ("loop detected resolving object " + QUtil::int_to_string(objid) + " " + QUtil::int_to_string(generation))); - return std::shared_ptr<QPDFObject>(new QPDF_Null); + return QPDF_Null::create(); } ResolveRecorder rr(this, og); |