diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_traversestrategy_xfacontainernode.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_traversestrategy_xfacontainernode.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/xfa/fxfa/parser/cxfa_traversestrategy_xfacontainernode.h b/xfa/fxfa/parser/cxfa_traversestrategy_xfacontainernode.h index ce6463c700..3ca632a1d1 100644 --- a/xfa/fxfa/parser/cxfa_traversestrategy_xfacontainernode.h +++ b/xfa/fxfa/parser/cxfa_traversestrategy_xfacontainernode.h @@ -13,16 +13,13 @@ class CXFA_TraverseStrategy_XFAContainerNode { public: static CXFA_Node* GetFirstChild(CXFA_Node* pTemplateNode) { - return pTemplateNode->GetNodeItem(XFA_NODEITEM_FirstChild, - XFA_ObjectType::ContainerNode); + return pTemplateNode->GetFirstContainerChild(); } static CXFA_Node* GetNextSibling(CXFA_Node* pTemplateNode) { - return pTemplateNode->GetNodeItem(XFA_NODEITEM_NextSibling, - XFA_ObjectType::ContainerNode); + return pTemplateNode->GetNextContainerSibling(); } static CXFA_Node* GetParent(CXFA_Node* pTemplateNode) { - return pTemplateNode->GetNodeItem(XFA_NODEITEM_Parent, - XFA_ObjectType::ContainerNode); + return pTemplateNode->GetContainerParent(); } }; |