summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_logpseudomodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_logpseudomodel.cpp')
-rw-r--r--fxjs/xfa/cjx_logpseudomodel.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/xfa/cjx_logpseudomodel.cpp b/fxjs/xfa/cjx_logpseudomodel.cpp
index e0ed05d0d1..810ddfa008 100644
--- a/fxjs/xfa/cjx_logpseudomodel.cpp
+++ b/fxjs/xfa/cjx_logpseudomodel.cpp
@@ -16,12 +16,11 @@ const CJX_MethodSpec CJX_LogPseudoModel::MethodSpecs[] = {
{"traceEnabled", traceEnabled_static},
{"traceActivate", traceActivate_static},
{"traceDeactivate", traceDeactivate_static},
- {"trace", trace_static},
- {"", nullptr}};
+ {"trace", trace_static}};
CJX_LogPseudoModel::CJX_LogPseudoModel(CScript_LogPseudoModel* model)
: CJX_Object(model) {
- DefineMethods(MethodSpecs);
+ DefineMethods(MethodSpecs, FX_ArraySize(MethodSpecs));
}
CJX_LogPseudoModel::~CJX_LogPseudoModel() {}