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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp b/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp index 69b9de1a64..d37653321f 100644 --- a/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp +++ b/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp @@ -29,7 +29,7 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Verify(CFXJSE_Arg {
FX_INT32 iLength = pArguments->GetLength();
if (iLength < 1 || iLength > 4) {
- ThrowScriptErrorMessage(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, (FX_LPCWSTR)(L"verify"));
+ ThrowScriptErrorMessage(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"verify");
return;
}
IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify();
@@ -51,7 +51,7 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Sign(CFXJSE_Argum {
FX_INT32 iLength = pArguments->GetLength();
if (iLength < 3 || iLength > 7) {
- ThrowScriptErrorMessage(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, (FX_LPCWSTR)(L"sign"));
+ ThrowScriptErrorMessage(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"sign");
return;
}
IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify();
@@ -83,7 +83,7 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Enumerate(CFXJSE_ {
FX_INT32 iLength = pArguments->GetLength();
if (iLength != 0) {
- ThrowScriptErrorMessage(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, (FX_LPCWSTR)(L"enumerate"));
+ ThrowScriptErrorMessage(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"enumerate");
return;
}
IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify();
@@ -98,7 +98,7 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Clear(CFXJSE_Argu {
FX_INT32 iLength = pArguments->GetLength();
if (iLength < 1 || iLength > 2) {
- ThrowScriptErrorMessage(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, (FX_LPCWSTR)(L"clear"));
+ ThrowScriptErrorMessage(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"clear");
return;
}
IXFA_Notify* pNotify = m_pDocument->GetParser()->GetNotify();
|