aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Unresolved.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2024-02-12 19:40:21 +0100
committerm-holger <m-holger@kubitscheck.org>2024-02-16 12:00:20 +0100
commit9589fad1e5bde7c51f01c0de16ac0b5ccb7051e0 (patch)
tree9357fc9099cefcb06f587597d0606d50260aeca8 /libqpdf/QPDF_Unresolved.cc
parent9379b768118f465e94f826bed1daacbbc94938fc (diff)
downloadqpdf-9589fad1e5bde7c51f01c0de16ac0b5ccb7051e0.tar.zst
Reimplement QPDFObjectHandle::getJSON in terms of writeJSON
Diffstat (limited to 'libqpdf/QPDF_Unresolved.cc')
-rw-r--r--libqpdf/QPDF_Unresolved.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/libqpdf/QPDF_Unresolved.cc b/libqpdf/QPDF_Unresolved.cc
index c2a50dbf..dc14c2f2 100644
--- a/libqpdf/QPDF_Unresolved.cc
+++ b/libqpdf/QPDF_Unresolved.cc
@@ -27,13 +27,6 @@ QPDF_Unresolved::unparse()
return "";
}
-JSON
-QPDF_Unresolved::getJSON(int json_version)
-{
- throw std::logic_error("attempted to get JSON from an unresolved QPDFObjectHandle");
- return JSON::makeNull();
-}
-
void
QPDF_Unresolved::writeJSON(int json_version, JSON::Writer& p)
{