Commit 1dd0575cd2b44221ebcb9eaaa887295b5826202b

Authored by m-holger
1 parent c2148fb1

Simplify `QPDFWriter::writeHintStream`: remove redundant `qdf_mode` check for st…

…ream compression given that qpdf_mode is incompatible with linearization.
Showing 1 changed file with 1 additions and 1 deletions
libqpdf/QPDFWriter.cc
... ... @@ -2573,7 +2573,7 @@ QPDFWriter::Members::writeHintStream(int hint_id)
2573 2573 std::string hint_buffer;
2574 2574 int S = 0;
2575 2575 int O = 0;
2576   - bool compressed = compress_streams && !qdf_mode;
  2576 + bool compressed = compress_streams;
2577 2577 generateHintStream(new_obj, obj, hint_buffer, S, O, compressed);
2578 2578  
2579 2579 openObject(hint_id);
... ...