Index: xfa/fxfa/app/xfa_ffwidgethandler.cpp |
diff --git a/xfa/fxfa/app/xfa_ffwidgethandler.cpp b/xfa/fxfa/app/xfa_ffwidgethandler.cpp |
index 3df2d2a473ef6606e8713b533967a4a857a3c481..854b1ac384d424cbb15f90b0b23fc14959434158 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], |
Tom Sepez
2016/10/27 21:04:49
Returns a count of events. Probably should be uns
Lei Zhang
2016/10/27 21:28:52
Yes, many many things need to be unsigned...
|
- eventArray); |
+ eventArray) > 0; |
} |
int32_t CXFA_FFWidgetHandler::ProcessEvent(CXFA_WidgetAcc* pWidgetAcc, |