Index: core/src/fxge/dib/fx_dib_convert.cpp |
diff --git a/core/src/fxge/dib/fx_dib_convert.cpp b/core/src/fxge/dib/fx_dib_convert.cpp |
index 7e7a619595a735214d9c17544fb0e9f59264d7e8..efcc885bce60064566f5ce889f1a3c0ac1ea033f 100644 |
--- a/core/src/fxge/dib/fx_dib_convert.cpp |
+++ b/core/src/fxge/dib/fx_dib_convert.cpp |
@@ -616,6 +616,12 @@ FX_BOOL _ConvertBuffer_Rgb2PltRgb8(uint8_t* dest_buf, |
int src_top, |
FX_DWORD* dst_plt, |
void* pIccTransform) { |
+#ifdef PDF_ENABLE_XFA |
+ ICodec_IccModule* pIccModule = NULL; |
+ if (pIccTransform) { |
+ pIccModule = CFX_GEModule::Get()->GetCodecModule()->GetIccModule(); |
+ } |
+#endif |
FX_BOOL ret = _ConvertBuffer_Rgb2PltRgb8_NoTransform( |
dest_buf, dest_pitch, width, height, pSrcBitmap, src_left, src_top, |
dst_plt); |