summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_basic_data_element_script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/xfa_basic_data_element_script.cpp')
-rw-r--r--xfa/fxfa/parser/xfa_basic_data_element_script.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/xfa_basic_data_element_script.cpp b/xfa/fxfa/parser/xfa_basic_data_element_script.cpp
index 2cf6d82084..112db1efb5 100644
--- a/xfa/fxfa/parser/xfa_basic_data_element_script.cpp
+++ b/xfa/fxfa/parser/xfa_basic_data_element_script.cpp
@@ -3574,5 +3574,4 @@ const XFA_SCRIPTATTRIBUTEINFO g_SomAttributeData[] = {
(XFA_ATTRIBUTE_CALLBACK)&CJX_Node::Script_Som_DefaultValue,
XFA_Attribute::Unknown, XFA_ScriptType::Basic},
};
-const int32_t g_iSomAttributeCount =
- sizeof(g_SomAttributeData) / sizeof(XFA_ATTRIBUTEINFO);
+const int32_t g_iSomAttributeCount = FX_ArraySize(g_SomAttributeData);