diff options
Diffstat (limited to 'libqpdf/QPDF_Destroyed.cc')
-rw-r--r-- | libqpdf/QPDF_Destroyed.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libqpdf/QPDF_Destroyed.cc b/libqpdf/QPDF_Destroyed.cc index 4e34b508..5e04566a 100644 --- a/libqpdf/QPDF_Destroyed.cc +++ b/libqpdf/QPDF_Destroyed.cc @@ -28,9 +28,8 @@ QPDF_Destroyed::unparse() return ""; } -JSON -QPDF_Destroyed::getJSON(int json_version) +void +QPDF_Destroyed::writeJSON(int json_version, JSON::Writer& p) { throw std::logic_error("attempted to get JSON from a QPDFObjectHandle from a destroyed QPDF"); - return JSON::makeNull(); -} +}
\ No newline at end of file |