summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_containerlayoutitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_containerlayoutitem.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_containerlayoutitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_containerlayoutitem.cpp b/xfa/fxfa/parser/cxfa_containerlayoutitem.cpp
index fb54354eeb..07203caa85 100644
--- a/xfa/fxfa/parser/cxfa_containerlayoutitem.cpp
+++ b/xfa/fxfa/parser/cxfa_containerlayoutitem.cpp
@@ -35,7 +35,7 @@ CFX_SizeF CXFA_ContainerLayoutItem::GetPageSize() const {
pMedium->JSNode()->GetMeasure(XFA_Attribute::Short).ToUnit(XFA_Unit::Pt),
pMedium->JSNode()->GetMeasure(XFA_Attribute::Long).ToUnit(XFA_Unit::Pt));
if (pMedium->JSNode()->GetEnum(XFA_Attribute::Orientation) ==
- XFA_ATTRIBUTEENUM_Landscape) {
+ XFA_AttributeEnum::Landscape) {
size = CFX_SizeF(size.height, size.width);
}
return size;