mirror of
https://github.com/qpdf/qpdf.git
synced 2024-09-27 20:49:06 +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_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 "
|
||||||
|
Loading…
Reference in New Issue
Block a user