diff options
Diffstat (limited to 'fxjs/xfa/cjx_template.cpp')
-rw-r--r-- | fxjs/xfa/cjx_template.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/xfa/cjx_template.cpp b/fxjs/xfa/cjx_template.cpp index 48507c3494..8ba2bcab9e 100644 --- a/fxjs/xfa/cjx_template.cpp +++ b/fxjs/xfa/cjx_template.cpp @@ -19,11 +19,10 @@ const CJX_MethodSpec CJX_Template::MethodSpecs[] = { {"execValidate", execValidate_static}, {"formNodes", formNodes_static}, {"recalculate", recalculate_static}, - {"remerge", remerge_static}, - {"", nullptr}}; + {"remerge", remerge_static}}; CJX_Template::CJX_Template(CXFA_Template* tmpl) : CJX_Model(tmpl) { - DefineMethods(MethodSpecs); + DefineMethods(MethodSpecs, FX_ArraySize(MethodSpecs)); } CJX_Template::~CJX_Template() {} |