aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libqpdf/QPDF_Stream.cc8
1 files 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 "