Index: xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp |
diff --git a/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp b/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp |
index e4c257b31f9c0fd08f312b5d6e699d0cfbe466eb..cbaa86f0fd193b5239ce7ae336c892e49b0e9f34 100644 |
--- a/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp |
+++ b/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp |
@@ -35,7 +35,7 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Verify( |
IXFA_Doc* hDoc = pNotify->GetHDOC(); |
CXFA_Node* pNode = NULL; |
if (iLength >= 1) { |
- pNode = (CXFA_Node*)pArguments->GetObject(0); |
+ pNode = static_cast<CXFA_Node*>(pArguments->GetObject(0)); |
} |
int32_t bVerify = pNotify->GetDocProvider()->Verify(hDoc, pNode); |
FXJSE_HVALUE hValue = pArguments->GetReturnValue(); |
@@ -108,7 +108,7 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Clear( |
CXFA_Node* pNode = NULL; |
FX_BOOL bClear = TRUE; |
if (iLength >= 1) { |
- pNode = (CXFA_Node*)pArguments->GetObject(0); |
+ pNode = static_cast<CXFA_Node*>(pArguments->GetObject(0)); |
} |
if (iLength >= 2) { |
bClear = pArguments->GetInt32(1) == 0 ? FALSE : TRUE; |