Index: core/fpdfapi/fpdf_page/cpdf_colorspace.cpp |
diff --git a/core/fpdfapi/fpdf_page/cpdf_colorspace.cpp b/core/fpdfapi/fpdf_page/cpdf_colorspace.cpp |
index 79faebafc950bcb2a79aca8efcea142720d7ce7e..aa31f9cbacf5e5c48d959f8bac403498203da1e7 100644 |
--- a/core/fpdfapi/fpdf_page/cpdf_colorspace.cpp |
+++ b/core/fpdfapi/fpdf_page/cpdf_colorspace.cpp |
@@ -863,12 +863,14 @@ FX_BOOL CPDF_ICCBasedCS::GetRGB(FX_FLOAT* pBuf, |
B = pBuf[2]; |
return TRUE; |
} |
- ICodec_IccModule* pIccModule = CPDF_ModuleMgr::Get()->GetIccModule(); |
+ CCodec_IccModule* pIccModule = CPDF_ModuleMgr::Get()->GetIccModule(); |
if (!m_pProfile->m_pTransform || !pIccModule) { |
- if (m_pAlterCS) { |
+ if (m_pAlterCS) |
return m_pAlterCS->GetRGB(pBuf, R, G, B); |
- } |
- R = G = B = 0.0f; |
+ |
+ R = 0.0f; |
+ G = 0.0f; |
+ B = 0.0f; |
return TRUE; |
} |
FX_FLOAT rgb[3]; |