summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_traversestrategy_xfanode.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_traversestrategy_xfanode.h')
-rw-r--r--xfa/fxfa/parser/cxfa_traversestrategy_xfanode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_traversestrategy_xfanode.h b/xfa/fxfa/parser/cxfa_traversestrategy_xfanode.h
index 7fab43c9bc..fc98d18623 100644
--- a/xfa/fxfa/parser/cxfa_traversestrategy_xfanode.h
+++ b/xfa/fxfa/parser/cxfa_traversestrategy_xfanode.h
@@ -12,13 +12,13 @@
class CXFA_TraverseStrategy_XFANode {
public:
static inline CXFA_Node* GetFirstChild(CXFA_Node* pTemplateNode) {
- return pTemplateNode->GetNodeItem(XFA_NODEITEM_FirstChild);
+ return pTemplateNode->GetFirstChild();
}
static inline CXFA_Node* GetNextSibling(CXFA_Node* pTemplateNode) {
- return pTemplateNode->GetNodeItem(XFA_NODEITEM_NextSibling);
+ return pTemplateNode->GetNextSibling();
}
static inline CXFA_Node* GetParent(CXFA_Node* pTemplateNode) {
- return pTemplateNode->GetNodeItem(XFA_NODEITEM_Parent);
+ return pTemplateNode->GetParent();
}
};