The anti-pattern
m_pAltCS->GetRGB(results, R, G, B);
return TRUE;
occurs frequently in fpdf_page_colors.cpp. These should be changed to
return m_pAltCS->GetRGB(results, R, G, B);
to propagate errors to callers.
Original issue reported on code.google.com by tsepez@chromium.org on 21 Aug 2014 at 10:53
Original issue reported on code.google.com by
tsepez@chromium.org
on 21 Aug 2014 at 10:53