diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_event.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_event.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_event.cpp b/xfa/fxfa/parser/cxfa_event.cpp index 2675761bc6..9eef655d31 100644 --- a/xfa/fxfa/parser/cxfa_event.cpp +++ b/xfa/fxfa/parser/cxfa_event.cpp @@ -54,13 +54,13 @@ XFA_AttributeEnum CXFA_Event::GetActivity() { } XFA_Element CXFA_Event::GetEventType() const { - CXFA_Node* pChild = GetNodeItem(XFA_NODEITEM_FirstChild); + CXFA_Node* pChild = GetFirstChild(); while (pChild) { XFA_Element eType = pChild->GetElementType(); if (eType != XFA_Element::Extras) return eType; - pChild = pChild->GetNodeItem(XFA_NODEITEM_NextSibling); + pChild = pChild->GetNextSibling(); } return XFA_Element::Unknown; } |