aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFWriter.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2017-09-12 21:48:08 +0200
committerJay Berkenbilt <ejb@ql.org>2017-09-12 22:03:48 +0200
commitd31a7b76e7fa6fc6fa31d94394b59f990920d09c (patch)
treeae2c107d061eddbad986f059230dda08f296abf6 /libqpdf/QPDFWriter.cc
parenteaacf94005ff8189e215447ffeadc341eca6c019 (diff)
downloadqpdf-d31a7b76e7fa6fc6fa31d94394b59f990920d09c.tar.zst
Improve message for stream decoding error
Tweak the message so that we inform the user that we are mitigating data loss.
Diffstat (limited to 'libqpdf/QPDFWriter.cc')
-rw-r--r--libqpdf/QPDFWriter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDFWriter.cc b/libqpdf/QPDFWriter.cc
index 1ce4bfb6..d4e13310 100644
--- a/libqpdf/QPDFWriter.cc
+++ b/libqpdf/QPDFWriter.cc
@@ -1623,7 +1623,7 @@ QPDFWriter::unparseObject(QPDFObjectHandle object, int level,
((filter && compress) ? qpdf_ef_compress : 0)),
(filter
? (uncompress ? qpdf_dl_all : this->m->stream_decode_level)
- : qpdf_dl_none));
+ : qpdf_dl_none), false, (attempt == 1));
popPipelineStack(&stream_data);
if (filter && (! filtered))
{