diff options
Diffstat (limited to 'xfa/fxfa/parser/xfa_layout_appadapter.h')
-rw-r--r-- | xfa/fxfa/parser/xfa_layout_appadapter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/xfa_layout_appadapter.h b/xfa/fxfa/parser/xfa_layout_appadapter.h index 118c273f84..685bc4482a 100644 --- a/xfa/fxfa/parser/xfa_layout_appadapter.h +++ b/xfa/fxfa/parser/xfa_layout_appadapter.h @@ -13,7 +13,7 @@ class CXFA_TraverseStrategy_PageAreaContainerLayoutItem { public: static inline CXFA_ContainerLayoutItem* GetFirstChild( CXFA_ContainerLayoutItem* pLayoutItem) { - if (pLayoutItem->m_pFormNode->GetClassID() == XFA_Element::PageSet) { + if (pLayoutItem->m_pFormNode->GetElementType() == XFA_Element::PageSet) { return static_cast<CXFA_ContainerLayoutItem*>(pLayoutItem->m_pFirstChild); } return NULL; |