Index: xfa/fxfa/parser/cxfa_event.cpp |
diff --git a/xfa/fxfa/parser/cxfa_event.cpp b/xfa/fxfa/parser/cxfa_event.cpp |
index 1eb182ec3bde7ab23ce79d37c24ecf38e64d10d1..3e5639617b18c864928810def9a1b3bd3c70b22b 100644 |
--- a/xfa/fxfa/parser/cxfa_event.cpp |
+++ b/xfa/fxfa/parser/cxfa_event.cpp |
@@ -17,7 +17,7 @@ int32_t CXFA_Event::GetActivity() { |
XFA_Element CXFA_Event::GetEventType() { |
CXFA_Node* pChild = m_pNode->GetNodeItem(XFA_NODEITEM_FirstChild); |
while (pChild) { |
- XFA_Element eType = pChild->GetClassID(); |
+ XFA_Element eType = pChild->GetElementType(); |
if (eType != XFA_Element::Extras) |
return eType; |