Index: xfa/fxfa/app/xfa_ffimage.cpp |
diff --git a/xfa/fxfa/app/xfa_ffimage.cpp b/xfa/fxfa/app/xfa_ffimage.cpp |
index 5f62f783173e4ea3c5e7c032cd1017ad519365bc..7c152a196e8741e0d943b279bce79fa9845d87e1 100644 |
--- a/xfa/fxfa/app/xfa_ffimage.cpp |
+++ b/xfa/fxfa/app/xfa_ffimage.cpp |
@@ -18,7 +18,7 @@ CXFA_FFImage::~CXFA_FFImage() { |
CXFA_FFImage::UnloadWidget(); |
} |
FX_BOOL CXFA_FFImage::IsLoaded() { |
- return GetDataAcc()->GetImageImage() != NULL; |
+ return !!GetDataAcc()->GetImageImage(); |
} |
FX_BOOL CXFA_FFImage::LoadWidget() { |
if (GetDataAcc()->GetImageImage()) { |
@@ -28,7 +28,7 @@ FX_BOOL CXFA_FFImage::LoadWidget() { |
return CXFA_FFDraw::LoadWidget(); |
} |
void CXFA_FFImage::UnloadWidget() { |
- GetDataAcc()->SetImageImage(NULL); |
+ GetDataAcc()->SetImageImage(nullptr); |
} |
void CXFA_FFImage::RenderWidget(CFX_Graphics* pGS, |
CFX_Matrix* pMatrix, |