diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2022-03-19 17:59:39 +1030 |
---|---|---|
committer | Albert Astals Cid <tsdgeos@yahoo.es> | 2022-04-04 11:34:24 +0000 |
commit | 7f2b2964297e4d381b43ad5710540fedfe216a2c (patch) | |
tree | a4b5a518e95d0bf75c383ff14983e989dab54c16 | |
parent | 61f6d6d1492b9a8bfa19dfe4bfa4a7294a9a29bd (diff) |
Fix clang warning
-rw-r--r-- | poppler/CairoFontEngine.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/poppler/CairoFontEngine.cc b/poppler/CairoFontEngine.cc index 1da0bfdc..efde742a 100644 --- a/poppler/CairoFontEngine.cc +++ b/poppler/CairoFontEngine.cc @@ -588,8 +588,9 @@ static cairo_status_t _render_type3_glyph(cairo_scaled_font_t *scaled_font, unsi } status = CAIRO_STATUS_SUCCESS; - if (color && !output_dev->hasColor()) + if (color && !output_dev->hasColor()) { status = CAIRO_STATUS_USER_FONT_NOT_IMPLEMENTED; + } delete gfx; delete output_dev; |