summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_signaturepseudomodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_signaturepseudomodel.cpp')
-rw-r--r--fxjs/xfa/cjx_signaturepseudomodel.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/xfa/cjx_signaturepseudomodel.cpp b/fxjs/xfa/cjx_signaturepseudomodel.cpp
index 6b39ac2488..202532c6ca 100644
--- a/fxjs/xfa/cjx_signaturepseudomodel.cpp
+++ b/fxjs/xfa/cjx_signaturepseudomodel.cpp
@@ -16,13 +16,12 @@ const CJX_MethodSpec CJX_SignaturePseudoModel::MethodSpecs[] = {
{"verify", verifySignature_static},
{"sign", sign_static},
{"enumerate", enumerate_static},
- {"clear", clear_static},
- {"", nullptr}};
+ {"clear", clear_static}};
CJX_SignaturePseudoModel::CJX_SignaturePseudoModel(
CScript_SignaturePseudoModel* model)
: CJX_Object(model) {
- DefineMethods(MethodSpecs);
+ DefineMethods(MethodSpecs, FX_ArraySize(MethodSpecs));
}
CJX_SignaturePseudoModel::~CJX_SignaturePseudoModel() {}