2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-19 10:22:22 +00:00

Fix typos in error message

This commit is contained in:
m-holger 2022-10-03 15:18:31 +01:00 committed by Jay Berkenbilt
parent 236a02d402
commit d44bba3914

View File

@ -213,14 +213,14 @@ QPDF_Stream::getStreamJSON(
case qpdf_sj_none: case qpdf_sj_none:
case qpdf_sj_inline: case qpdf_sj_inline:
if (p != nullptr) { if (p != nullptr) {
throw std::logic_error("QPDF_Stream::getStreamJSON: pipline should " throw std::logic_error("QPDF_Stream::getStreamJSON: pipeline should "
"only be suppiled json_data is file"); "only be supplied when json_data is file");
} }
break; break;
case qpdf_sj_file: case qpdf_sj_file:
if (p == nullptr) { if (p == nullptr) {
throw std::logic_error("QPDF_Stream::getStreamJSON: pipline must " throw std::logic_error("QPDF_Stream::getStreamJSON: pipeline must "
"be be suppiled json_data is file"); "be supplied when json_data is file");
} }
if (data_filename.empty()) { if (data_filename.empty()) {
throw std::logic_error("QPDF_Stream::getStreamJSON: data_filename " throw std::logic_error("QPDF_Stream::getStreamJSON: data_filename "