Index: xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp |
diff --git a/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp b/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp |
index 94fa8db96c0b6c320ea88e6c01b7295ec631fe9f..a3b686bb56e8a85300648e2a0a64f0529c291e57 100644 |
--- a/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp |
+++ b/xfa/fxfa/parser/xfa_script_hostpseudomodel.cpp |
@@ -310,7 +310,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_OpenList( |
if (iLength >= 1) { |
FXJSE_HVALUE hValue = pArguments->GetValue(0); |
if (FXJSE_Value_IsObject(hValue)) { |
- pNode = static_cast<CXFA_Node*>(FXJSE_Value_ToObject(hValue, nullptr)); |
+ pNode = static_cast<CXFA_Node*>(FXJSE_Value_ToObject(hValue)); |
} else if (FXJSE_Value_IsUTF8String(hValue)) { |
CFX_ByteString bsString; |
FXJSE_Value_ToUTF8String(hValue, bsString); |
@@ -511,7 +511,7 @@ void CScript_HostPseudoModel::Script_HostPseudoModel_SetFocus( |
if (iLength >= 1) { |
FXJSE_HVALUE hValue = pArguments->GetValue(0); |
if (FXJSE_Value_IsObject(hValue)) { |
- pNode = static_cast<CXFA_Node*>(FXJSE_Value_ToObject(hValue, NULL)); |
+ pNode = static_cast<CXFA_Node*>(FXJSE_Value_ToObject(hValue)); |
} else if (FXJSE_Value_IsUTF8String(hValue)) { |
CFX_ByteString bsString; |
FXJSE_Value_ToUTF8String(hValue, bsString); |