diff options
Diffstat (limited to 'fxjs/xfa/cjx_hostpseudomodel.cpp')
-rw-r--r-- | fxjs/xfa/cjx_hostpseudomodel.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/xfa/cjx_hostpseudomodel.cpp b/fxjs/xfa/cjx_hostpseudomodel.cpp index 20e3bfe496..555381f623 100644 --- a/fxjs/xfa/cjx_hostpseudomodel.cpp +++ b/fxjs/xfa/cjx_hostpseudomodel.cpp @@ -61,12 +61,11 @@ const CJX_MethodSpec CJX_HostPseudoModel::MethodSpecs[] = { {"print", print_static}, {"resetData", resetData_static}, {"response", response_static}, - {"setFocus", setFocus_static}, - {"", nullptr}}; + {"setFocus", setFocus_static}}; CJX_HostPseudoModel::CJX_HostPseudoModel(CScript_HostPseudoModel* model) : CJX_Object(model) { - DefineMethods(MethodSpecs); + DefineMethods(MethodSpecs, FX_ArraySize(MethodSpecs)); } CJX_HostPseudoModel::~CJX_HostPseudoModel() {} |