summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_source.cpp')
-rw-r--r--fxjs/xfa/cjx_source.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/xfa/cjx_source.cpp b/fxjs/xfa/cjx_source.cpp
index 17512b3e63..85742fee18 100644
--- a/fxjs/xfa/cjx_source.cpp
+++ b/fxjs/xfa/cjx_source.cpp
@@ -29,11 +29,10 @@ const CJX_MethodSpec CJX_Source::MethodSpecs[] = {
{"requery", requery_static},
{"resync", resync_static},
{"update", update_static},
- {"updateBatch", updateBatch_static},
- {"", nullptr}};
+ {"updateBatch", updateBatch_static}};
CJX_Source::CJX_Source(CXFA_Source* src) : CJX_Node(src) {
- DefineMethods(MethodSpecs);
+ DefineMethods(MethodSpecs, FX_ArraySize(MethodSpecs));
}
CJX_Source::~CJX_Source() {}