Index: xfa/fxfa/app/xfa_ffnotify.cpp |
diff --git a/xfa/fxfa/app/xfa_ffnotify.cpp b/xfa/fxfa/app/xfa_ffnotify.cpp |
index 9524a25b1a88685d4b99fd3f56f64d15c96dd088..c801bb45e546639cad0b6130b3a99d40c472494e 100644 |
--- a/xfa/fxfa/app/xfa_ffnotify.cpp |
+++ b/xfa/fxfa/app/xfa_ffnotify.cpp |
@@ -206,7 +206,7 @@ FX_BOOL CXFA_FFNotify::RunScript(CXFA_Node* pScript, CXFA_Node* pFormItem) { |
int32_t iRet = |
pWidgetAcc->ExecuteScript(CXFA_Script(pScript), &EventParam, &pRetValue); |
if (iRet == XFA_EVENTERROR_Success && pRetValue) { |
- bRet = FXJSE_Value_ToBoolean(pRetValue); |
+ bRet = pRetValue->ToBoolean(); |
delete pRetValue; |
} |
return bRet; |