Commit d44bba3914ea7fce20b583e5ff77bc2d25c21c7f

Authored by m-holger
Committed by Jay Berkenbilt
1 parent 236a02d4

Fix typos in error message

Showing 1 changed file with 4 additions and 4 deletions
libqpdf/QPDF_Stream.cc
@@ -213,14 +213,14 @@ QPDF_Stream::getStreamJSON( @@ -213,14 +213,14 @@ QPDF_Stream::getStreamJSON(
213 case qpdf_sj_none: 213 case qpdf_sj_none:
214 case qpdf_sj_inline: 214 case qpdf_sj_inline:
215 if (p != nullptr) { 215 if (p != nullptr) {
216 - throw std::logic_error("QPDF_Stream::getStreamJSON: pipline should "  
217 - "only be suppiled json_data is file"); 216 + throw std::logic_error("QPDF_Stream::getStreamJSON: pipeline should "
  217 + "only be supplied when json_data is file");
218 } 218 }
219 break; 219 break;
220 case qpdf_sj_file: 220 case qpdf_sj_file:
221 if (p == nullptr) { 221 if (p == nullptr) {
222 - throw std::logic_error("QPDF_Stream::getStreamJSON: pipline must "  
223 - "be be suppiled json_data is file"); 222 + throw std::logic_error("QPDF_Stream::getStreamJSON: pipeline must "
  223 + "be supplied when json_data is file");
224 } 224 }
225 if (data_filename.empty()) { 225 if (data_filename.empty()) {
226 throw std::logic_error("QPDF_Stream::getStreamJSON: data_filename " 226 throw std::logic_error("QPDF_Stream::getStreamJSON: data_filename "