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:
parent
236a02d402
commit
d44bba3914
|
@ -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 "
|
||||
|
|
Loading…
Reference in New Issue
Block a user