diff options
Diffstat (limited to 'xfa/fxfa/app/xfa_ffimage.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_ffimage.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/app/xfa_ffimage.cpp b/xfa/fxfa/app/xfa_ffimage.cpp index bcd1d4a9ce..c387cc2690 100644 --- a/xfa/fxfa/app/xfa_ffimage.cpp +++ b/xfa/fxfa/app/xfa_ffimage.cpp @@ -17,12 +17,12 @@ CXFA_FFImage::CXFA_FFImage(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc) CXFA_FFImage::~CXFA_FFImage() { CXFA_FFImage::UnloadWidget(); } -FX_BOOL CXFA_FFImage::IsLoaded() { +bool CXFA_FFImage::IsLoaded() { return !!GetDataAcc()->GetImageImage(); } -FX_BOOL CXFA_FFImage::LoadWidget() { +bool CXFA_FFImage::LoadWidget() { if (GetDataAcc()->GetImageImage()) { - return TRUE; + return true; } GetDataAcc()->LoadImageImage(); return CXFA_FFDraw::LoadWidget(); |