diff options
author | tsepez <tsepez@chromium.org> | 2016-11-02 15:43:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-02 15:43:19 -0700 |
commit | d19e912dd469e4bdad9f3020e1f6eb98f10f3470 (patch) | |
tree | 239cb568a80445f14a1ab9b63dcaaddcce67e1cc /xfa/fxfa/app/xfa_ffimage.cpp | |
parent | 12f3e4a58f05850b93af35619cb04f0231d86acc (diff) | |
download | pdfium-d19e912dd469e4bdad9f3020e1f6eb98f10f3470.tar.xz |
Remove FX_BOOL from xfa.
Review-Url: https://codereview.chromium.org/2467203003
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(); |