diff options
Diffstat (limited to 'xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp')
-rw-r--r-- | xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp b/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp index e4c257b31f..cbaa86f0fd 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; |