Commit dbae9496da15612aa87dad3b64ee0f015871dd26

Authored by m-holger
1 parent 30893015

Remove redundant call to `setRecompressFlate(false)` in QPDFJob::doCheck.

Showing 1 changed file with 0 additions and 2 deletions
libqpdf/QPDFJob.cc
@@ -796,8 +796,6 @@ QPDFJob::doCheck(QPDF& pdf) @@ -796,8 +796,6 @@ QPDFJob::doCheck(QPDF& pdf)
796 // Disable compression of streams, since we only need to confirm we can decode them. This 796 // Disable compression of streams, since we only need to confirm we can decode them. This
797 // avoids JPEG DCT -> Flate recompression of all images. 797 // avoids JPEG DCT -> Flate recompression of all images.
798 w.setCompressStreams(false); 798 w.setCompressStreams(false);
799 - // Also disable recompression of Flate streams since are only checking.  
800 - w.setRecompressFlate(false);  
801 w.write(); 799 w.write();
802 800
803 // Parse all content streams 801 // Parse all content streams