Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Unified Diff: xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp

Issue 2132513003: Cleanup redundant method names. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review feedback Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fxfa/parser/xfa_script_signaturepseudomodel.h ('k') | xfa/fxfa/parser/xfa_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
diff --git a/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp b/xfa/fxfa/parser/xfa_script_signaturepseudomodel.cpp
index 2d7e1860cffcbbdf4b95b53d7a503fc25e749204..007820c47c7f2d735a10b9f2baa8038e9c7d66d0 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");
« no previous file with comments | « xfa/fxfa/parser/xfa_script_signaturepseudomodel.h ('k') | xfa/fxfa/parser/xfa_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698