Commit 2e7f81452f962660325fb6f42ab72ecc30155045

Authored by Thorsten Schöning
Committed by Thorsten Schöning
1 parent fc2e491f

[bcc32 Error] qpdf.cc(3837): E2354 Two operands must evaluate to the same type

Full parser context
    qpdf.cc(3803): parsing: PointerHolder<Pipeline> ImageOptimizer::makePipeline(const std::string &,Pipeline *)
Showing 1 changed file with 1 additions and 1 deletions
qpdf/qpdf.cc
@@ -3836,7 +3836,7 @@ ImageOptimizer::makePipeline(std::string const&amp; description, Pipeline* next) @@ -3836,7 +3836,7 @@ ImageOptimizer::makePipeline(std::string const&amp; description, Pipeline* next)
3836 h_obj.isInteger() ? h_obj.getIntValue() : h_obj.getNumericValue()); 3836 h_obj.isInteger() ? h_obj.getIntValue() : h_obj.getNumericValue());
3837 std::string colorspace = (colorspace_obj.isName() ? 3837 std::string colorspace = (colorspace_obj.isName() ?
3838 colorspace_obj.getName() : 3838 colorspace_obj.getName() :
3839 - ""); 3839 + std::string());
3840 int components = 0; 3840 int components = 0;
3841 J_COLOR_SPACE cs = JCS_UNKNOWN; 3841 J_COLOR_SPACE cs = JCS_UNKNOWN;
3842 if (colorspace == "/DeviceRGB") 3842 if (colorspace == "/DeviceRGB")