From 5f4224f31a500452a4f97f36ed57351b41ca0114 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 31 Jul 2022 10:34:05 -0400 Subject: Simplify --json-output Now --json-output just changes defaults. Allow output file with --json. --- include/qpdf/QPDF.hh | 2 +- include/qpdf/QPDFJob.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh index f218f87f..f0a5f31c 100644 --- a/include/qpdf/QPDF.hh +++ b/include/qpdf/QPDF.hh @@ -133,7 +133,7 @@ class QPDF QPDF_DLL void updateFromJSON(std::shared_ptr); - // Write qpdf json format to the pipeline "p". The only supported + // Write qpdf JSON format to the pipeline "p". The only supported // version is 2. // // If the value of "complete" is true, a complete JSON object diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh index f2696327..2106a62c 100644 --- a/include/qpdf/QPDFJob.hh +++ b/include/qpdf/QPDFJob.hh @@ -554,7 +554,7 @@ class QPDFJob void setEncryptionOptions(QPDF&, QPDFWriter&); void maybeFixWritePassword(int R, std::string& password); void writeOutfile(QPDF& pdf); - void writeJSON(Pipeline* p, QPDF& pdf, bool complete, bool& first_key); + void writeJSON(QPDF& pdf); // JSON void doJSON(QPDF& pdf, Pipeline*); -- cgit v1.2.3-54-g00ecf