diff options
Diffstat (limited to 'libqpdf/SF_FlateLzwDecode.cc')
-rw-r--r-- | libqpdf/SF_FlateLzwDecode.cc | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/libqpdf/SF_FlateLzwDecode.cc b/libqpdf/SF_FlateLzwDecode.cc index dc76a329..db663429 100644 --- a/libqpdf/SF_FlateLzwDecode.cc +++ b/libqpdf/SF_FlateLzwDecode.cc @@ -39,9 +39,7 @@ SF_FlateLzwDecode::setDecodeParms(QPDFObjectHandle decode_parms) } else { filterable = false; } - } else if ( - (key == "/Columns") || (key == "/Colors") || - (key == "/BitsPerComponent")) { + } else if ((key == "/Columns") || (key == "/Colors") || (key == "/BitsPerComponent")) { if (value.isInteger()) { int val = value.getIntValueAsInt(); if (key == "/Columns") { @@ -103,11 +101,9 @@ SF_FlateLzwDecode::getDecodePipeline(Pipeline* next) } if (lzw) { - pipeline = std::make_shared<Pl_LZWDecoder>( - "lzw decode", next, early_code_change); + pipeline = std::make_shared<Pl_LZWDecoder>("lzw decode", next, early_code_change); } else { - pipeline = std::make_shared<Pl_Flate>( - "stream inflate", next, Pl_Flate::a_inflate); + pipeline = std::make_shared<Pl_Flate>("stream inflate", next, Pl_Flate::a_inflate); } this->pipelines.push_back(pipeline); return pipeline.get(); |