summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_ffwidgethandler.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-10-27 14:32:33 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-27 14:32:33 -0700
commit478ed62770e0dc0fe2d859e73496fa8c7f854694 (patch)
tree808e8576d0420f4bca099f5b265cca8ec09cd46e /xfa/fxfa/app/xfa_ffwidgethandler.cpp
parente93dbd6c18b8b58e5d6b4813052fafbc323e9692 (diff)
downloadpdfium-478ed62770e0dc0fe2d859e73496fa8c7f854694.tar.xz
Fix some FX_BOOL / int noise in fxfa
Review-Url: https://codereview.chromium.org/2457673003
Diffstat (limited to 'xfa/fxfa/app/xfa_ffwidgethandler.cpp')
-rw-r--r--xfa/fxfa/app/xfa_ffwidgethandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_ffwidgethandler.cpp b/xfa/fxfa/app/xfa_ffwidgethandler.cpp
index 3df2d2a473..854b1ac384 100644
--- a/xfa/fxfa/app/xfa_ffwidgethandler.cpp
+++ b/xfa/fxfa/app/xfa_ffwidgethandler.cpp
@@ -211,7 +211,7 @@ FX_BOOL CXFA_FFWidgetHandler::HasEvent(CXFA_WidgetAcc* pWidgetAcc,
}
CXFA_NodeArray eventArray;
return pWidgetAcc->GetEventByActivity(gs_EventActivity[eEventType],
- eventArray);
+ eventArray) > 0;
}
int32_t CXFA_FFWidgetHandler::ProcessEvent(CXFA_WidgetAcc* pWidgetAcc,