Index: xfa/fxfa/app/xfa_ffdochandler.cpp |
diff --git a/xfa/fxfa/app/xfa_ffdochandler.cpp b/xfa/fxfa/app/xfa_ffdochandler.cpp |
index fae72cb3a1747fd8abfbbc3bf3f883b2c0dff79d..db73531ccc5175077607defcfb14e208f7358bb9 100644 |
--- a/xfa/fxfa/app/xfa_ffdochandler.cpp |
+++ b/xfa/fxfa/app/xfa_ffdochandler.cpp |
@@ -41,18 +41,18 @@ XFA_ATTRIBUTEENUM CXFA_FFDocHandler::GetRestoreState(CXFA_FFDoc* hDoc) { |
return pSubForm->GetEnum(XFA_ATTRIBUTE_RestoreState); |
} |
-FX_BOOL CXFA_FFDocHandler::RunDocScript(CXFA_FFDoc* hDoc, |
- XFA_SCRIPTTYPE eScriptType, |
- const CFX_WideStringC& wsScript, |
- CFXJSE_Value* pRetValue, |
- CFXJSE_Value* pThisValue) { |
+bool CXFA_FFDocHandler::RunDocScript(CXFA_FFDoc* hDoc, |
+ XFA_SCRIPTTYPE eScriptType, |
+ const CFX_WideStringC& wsScript, |
+ CFXJSE_Value* pRetValue, |
+ CFXJSE_Value* pThisValue) { |
CXFA_Document* pXFADoc = hDoc->GetXFADoc(); |
if (!pXFADoc) |
- return FALSE; |
+ return false; |
CXFA_ScriptContext* pScriptContext = pXFADoc->GetScriptContext(); |
if (!pScriptContext) |
- return FALSE; |
+ return false; |
return pScriptContext->RunScript( |
(XFA_SCRIPTLANGTYPE)eScriptType, wsScript, pRetValue, |