| Index: core/fxcodec/codec/fx_codec_icc.cpp
|
| diff --git a/core/fxcodec/codec/fx_codec_icc.cpp b/core/fxcodec/codec/fx_codec_icc.cpp
|
| index 876297fd40faf210504a27dda10b6123451fa0e8..9149d144bd53c9484ca05db52be198363f796acd 100644
|
| --- a/core/fxcodec/codec/fx_codec_icc.cpp
|
| +++ b/core/fxcodec/codec/fx_codec_icc.cpp
|
| @@ -499,7 +499,7 @@ void* CCodec_IccModule::CreateTransform(
|
| pProofProfile = CreateProfile(pProofParam, Icc_CLASS_PROOF, &key);
|
| }
|
| key << dwInputProfileType << dwOutputProfileType << dwIntent << dwFlag
|
| - << (pProofProfile != NULL) << dwPrfIntent << dwPrfFlag;
|
| + << !!pProofProfile << dwPrfIntent << dwPrfFlag;
|
| CFX_ByteString TransformKey(key.GetBuffer(), key.GetSize());
|
| CFX_IccTransformCache* pTransformCache;
|
| auto it = m_MapTranform.find(TransformKey);
|
|
|