summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_document_layout_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/xfa_document_layout_imp.cpp')
-rw-r--r--xfa/fxfa/parser/xfa_document_layout_imp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/xfa_document_layout_imp.cpp b/xfa/fxfa/parser/xfa_document_layout_imp.cpp
index 31733bb52d..723ae1db69 100644
--- a/xfa/fxfa/parser/xfa_document_layout_imp.cpp
+++ b/xfa/fxfa/parser/xfa_document_layout_imp.cpp
@@ -55,7 +55,7 @@ int32_t CXFA_LayoutProcessor::StartLayout(FX_BOOL bForceRestart) {
return -1;
}
CXFA_Node* pFormRoot =
- pFormPacketNode->GetFirstChildByClass(XFA_ELEMENT_Subform);
+ pFormPacketNode->GetFirstChildByClass(XFA_Element::Subform);
if (!pFormRoot) {
return -1;
}
@@ -178,7 +178,7 @@ int32_t CXFA_ContainerLayoutItem::GetPageIndex() const {
void CXFA_ContainerLayoutItem::GetPageSize(CFX_SizeF& size) const {
size.clear();
- CXFA_Node* pMedium = m_pFormNode->GetFirstChildByClass(XFA_ELEMENT_Medium);
+ CXFA_Node* pMedium = m_pFormNode->GetFirstChildByClass(XFA_Element::Medium);
if (!pMedium)
return;