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 956ff7ccc4cc743440340cb8f834c610cc7d2743..80483f07d34019e71607934a204f377c9346bf13 100644 |
--- a/core/src/fxge/dib/fx_dib_convert.cpp |
+++ b/core/src/fxge/dib/fx_dib_convert.cpp |
@@ -617,6 +617,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); |