From d44bba3914ea7fce20b583e5ff77bc2d25c21c7f Mon Sep 17 00:00:00 2001 From: m-holger Date: Mon, 3 Oct 2022 15:18:31 +0100 Subject: [PATCH] Fix typos in error message --- libqpdf/QPDF_Stream.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libqpdf/QPDF_Stream.cc b/libqpdf/QPDF_Stream.cc index 3f2e2d35..c768d681 100644 --- a/libqpdf/QPDF_Stream.cc +++ b/libqpdf/QPDF_Stream.cc @@ -213,14 +213,14 @@ QPDF_Stream::getStreamJSON( case qpdf_sj_none: case qpdf_sj_inline: if (p != nullptr) { - throw std::logic_error("QPDF_Stream::getStreamJSON: pipline should " - "only be suppiled json_data is file"); + throw std::logic_error("QPDF_Stream::getStreamJSON: pipeline should " + "only be supplied when json_data is file"); } break; case qpdf_sj_file: if (p == nullptr) { - throw std::logic_error("QPDF_Stream::getStreamJSON: pipline must " - "be be suppiled json_data is file"); + throw std::logic_error("QPDF_Stream::getStreamJSON: pipeline must " + "be supplied when json_data is file"); } if (data_filename.empty()) { throw std::logic_error("QPDF_Stream::getStreamJSON: data_filename "