Merge to XFA: Remove unused nParamNum values from JS method tables.
[pdfium.git] / fpdfsdk / src / javascript / Field.cpp
index 8f20ec8..c8edcf6 100644 (file)
@@ -81,32 +81,32 @@ BEGIN_JS_STATIC_PROP(CJS_Field)
 END_JS_STATIC_PROP()
 
 BEGIN_JS_STATIC_METHOD(CJS_Field)
-       JS_STATIC_METHOD_ENTRY(browseForFileToSubmit,      0)
-       JS_STATIC_METHOD_ENTRY(buttonGetCaption,           1)
-       JS_STATIC_METHOD_ENTRY(buttonGetIcon,              1)
-       JS_STATIC_METHOD_ENTRY(buttonImportIcon,           0)
-       JS_STATIC_METHOD_ENTRY(buttonSetCaption,           2)
-       JS_STATIC_METHOD_ENTRY(buttonSetIcon,              2)
-       JS_STATIC_METHOD_ENTRY(checkThisBox,               2)
-       JS_STATIC_METHOD_ENTRY(clearItems,                 0)
-       JS_STATIC_METHOD_ENTRY(defaultIsChecked,           2)
-       JS_STATIC_METHOD_ENTRY(deleteItemAt,               1)
-       JS_STATIC_METHOD_ENTRY(getArray ,                  0)
-       JS_STATIC_METHOD_ENTRY(getItemAt,                  0)
-       JS_STATIC_METHOD_ENTRY(getLock,                    0)
-       JS_STATIC_METHOD_ENTRY(insertItemAt,               0)
-       JS_STATIC_METHOD_ENTRY(isBoxChecked,               1)
-       JS_STATIC_METHOD_ENTRY(isDefaultChecked,           1)
-       JS_STATIC_METHOD_ENTRY(setAction,                  2)
-       JS_STATIC_METHOD_ENTRY(setFocus,                   0)
-       JS_STATIC_METHOD_ENTRY(setItems,                   1)
-       JS_STATIC_METHOD_ENTRY(setLock,                    0)
-       JS_STATIC_METHOD_ENTRY(signatureGetModifications,  0)
-       JS_STATIC_METHOD_ENTRY(signatureGetSeedValue,      0)
-       JS_STATIC_METHOD_ENTRY(signatureInfo,              0)
-       JS_STATIC_METHOD_ENTRY(signatureSetSeedValue,      0)
-       JS_STATIC_METHOD_ENTRY(signatureSign,              0)
-       JS_STATIC_METHOD_ENTRY(signatureValidate,          0)
+       JS_STATIC_METHOD_ENTRY(browseForFileToSubmit)
+       JS_STATIC_METHOD_ENTRY(buttonGetCaption)
+       JS_STATIC_METHOD_ENTRY(buttonGetIcon)
+       JS_STATIC_METHOD_ENTRY(buttonImportIcon)
+       JS_STATIC_METHOD_ENTRY(buttonSetCaption)
+       JS_STATIC_METHOD_ENTRY(buttonSetIcon)
+       JS_STATIC_METHOD_ENTRY(checkThisBox)
+       JS_STATIC_METHOD_ENTRY(clearItems)
+       JS_STATIC_METHOD_ENTRY(defaultIsChecked)
+       JS_STATIC_METHOD_ENTRY(deleteItemAt)
+       JS_STATIC_METHOD_ENTRY(getArray )
+       JS_STATIC_METHOD_ENTRY(getItemAt)
+       JS_STATIC_METHOD_ENTRY(getLock)
+       JS_STATIC_METHOD_ENTRY(insertItemAt)
+       JS_STATIC_METHOD_ENTRY(isBoxChecked)
+       JS_STATIC_METHOD_ENTRY(isDefaultChecked)
+       JS_STATIC_METHOD_ENTRY(setAction)
+       JS_STATIC_METHOD_ENTRY(setFocus)
+       JS_STATIC_METHOD_ENTRY(setItems)
+       JS_STATIC_METHOD_ENTRY(setLock)
+       JS_STATIC_METHOD_ENTRY(signatureGetModifications)
+       JS_STATIC_METHOD_ENTRY(signatureGetSeedValue)
+       JS_STATIC_METHOD_ENTRY(signatureInfo)
+       JS_STATIC_METHOD_ENTRY(signatureSetSeedValue)
+       JS_STATIC_METHOD_ENTRY(signatureSign)
+       JS_STATIC_METHOD_ENTRY(signatureValidate)
 END_JS_STATIC_METHOD()
 
 IMPLEMENT_JS_CLASS(CJS_Field, Field)