2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-15 16:42:19 +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_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 "