diff options
author | dsinclair <dsinclair@chromium.org> | 2016-07-11 06:46:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-11 06:47:00 -0700 |
commit | d1cf239fa6be42baa02028efd1617d5af27d82e1 (patch) | |
tree | b365ce948adbea9f655623db4e2ca7797ee5d14f /xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp | |
parent | 3ecdbffbf3b812fe262ca1b8a6eec6187195ddd9 (diff) | |
download | pdfium-d1cf239fa6be42baa02028efd1617d5af27d82e1.tar.xz |
Cleanup redundant method names.
This CL cleans up a bunch of method names which are redundant with the class
names or code location.
Review-Url: https://codereview.chromium.org/2132513003
Diffstat (limited to 'xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp')
-rw-r--r-- | xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp b/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp index 2d7e1860cf..007820c47c 100644 --- a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp +++ b/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp @@ -24,8 +24,7 @@ CScript_SignaturePseudoModel::CScript_SignaturePseudoModel( XFA_ObjectType::Object, XFA_Element::SignaturePseudoModel) {} CScript_SignaturePseudoModel::~CScript_SignaturePseudoModel() {} -void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Verify( - CFXJSE_Arguments* pArguments) { +void CScript_SignaturePseudoModel::Verify(CFXJSE_Arguments* pArguments) { int32_t iLength = pArguments->GetLength(); if (iLength < 1 || iLength > 4) { ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"verify"); @@ -45,8 +44,7 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Verify( if (pValue) pValue->SetInteger(bVerify); } -void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Sign( - CFXJSE_Arguments* pArguments) { +void CScript_SignaturePseudoModel::Sign(CFXJSE_Arguments* pArguments) { int32_t iLength = pArguments->GetLength(); if (iLength < 3 || iLength > 7) { ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"sign"); @@ -77,8 +75,7 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Sign( if (pValue) pValue->SetBoolean(bSign); } -void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Enumerate( - CFXJSE_Arguments* pArguments) { +void CScript_SignaturePseudoModel::Enumerate(CFXJSE_Arguments* pArguments) { int32_t iLength = pArguments->GetLength(); if (iLength != 0) { ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"enumerate"); @@ -95,8 +92,7 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Enumerate( pArguments->GetReturnValue()->Assign( m_pDocument->GetScriptContext()->GetJSValueFromMap(pList)); } -void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Clear( - CFXJSE_Arguments* pArguments) { +void CScript_SignaturePseudoModel::Clear(CFXJSE_Arguments* pArguments) { int32_t iLength = pArguments->GetLength(); if (iLength < 1 || iLength > 2) { ThrowException(XFA_IDS_INCORRECT_NUMBER_OF_METHOD, L"clear"); |