summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser')
-rw-r--r--xfa/fxfa/parser/xfa_basic_data.cpp2
-rw-r--r--xfa/fxfa/parser/xfa_object.h5
2 files changed, 2 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/xfa_basic_data.cpp b/xfa/fxfa/parser/xfa_basic_data.cpp
index be1df934c2..1a9ad1ade3 100644
--- a/xfa/fxfa/parser/xfa_basic_data.cpp
+++ b/xfa/fxfa/parser/xfa_basic_data.cpp
@@ -1708,7 +1708,7 @@ const XFA_ELEMENTINFO g_XFAElementData[] = {
{0xf616da28, L"line", XFA_Element::Line,
XFA_XDPPACKET_Template | XFA_XDPPACKET_Form, XFA_ObjectType::Node},
{0xf616f3dc, L"list", XFA_Element::List, XFA_XDPPACKET_XDP,
- XFA_ObjectType::OrdinaryList},
+ XFA_ObjectType::List},
{0xf7055fb1, L"source", XFA_Element::Source, XFA_XDPPACKET_SourceSet,
XFA_ObjectType::Node},
{0xf7eebe1c, L"occur", XFA_Element::Occur,
diff --git a/xfa/fxfa/parser/xfa_object.h b/xfa/fxfa/parser/xfa_object.h
index 8b1f2303f6..09d8183ce3 100644
--- a/xfa/fxfa/parser/xfa_object.h
+++ b/xfa/fxfa/parser/xfa_object.h
@@ -19,7 +19,7 @@ class CXFA_NodeList;
enum class XFA_ObjectType {
Object,
- OrdinaryList,
+ List,
NodeList,
Node,
NodeC,
@@ -65,9 +65,6 @@ class CXFA_Object : public CFXJSE_HostObject {
m_objectType == XFA_ObjectType::VariablesThis;
}
bool IsNodeList() const { return m_objectType == XFA_ObjectType::NodeList; }
- bool IsOrdinaryList() const {
- return m_objectType == XFA_ObjectType::OrdinaryList;
- }
bool IsContentNode() const {
return m_objectType == XFA_ObjectType::ContentNode;
}