aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-10-03 16:18:31 +0200
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-10-03 17:42:27 +0200
commitd44bba3914ea7fce20b583e5ff77bc2d25c21c7f (patch)
tree558b8e4d783c91cbf0711906153aad29c92c8bbb
parent236a02d40267e3ed99a535b69b7a779bc0b09e80 (diff)
downloadqpdf-d44bba3914ea7fce20b583e5ff77bc2d25c21c7f.tar.zst
Fix typos in error message
-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 "