diff options
Diffstat (limited to 'fxjs/xfa/cjx_treelist.cpp')
-rw-r--r-- | fxjs/xfa/cjx_treelist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/xfa/cjx_treelist.cpp b/fxjs/xfa/cjx_treelist.cpp index b608734e3c..b79b9e16b4 100644 --- a/fxjs/xfa/cjx_treelist.cpp +++ b/fxjs/xfa/cjx_treelist.cpp @@ -19,7 +19,7 @@ const CJX_MethodSpec CJX_TreeList::MethodSpecs[] = { {"namedItem", namedItem_static}}; CJX_TreeList::CJX_TreeList(CXFA_TreeList* list) : CJX_List(list) { - DefineMethods(MethodSpecs, FX_ArraySize(MethodSpecs)); + DefineMethods(MethodSpecs); } CJX_TreeList::~CJX_TreeList() {} |