summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_paradata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_paradata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_paradata.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/cxfa_paradata.cpp b/xfa/fxfa/parser/cxfa_paradata.cpp
index cb960f8dca..22cb678c99 100644
--- a/xfa/fxfa/parser/cxfa_paradata.cpp
+++ b/xfa/fxfa/parser/cxfa_paradata.cpp
@@ -11,16 +11,16 @@
CXFA_ParaData::CXFA_ParaData(CXFA_Node* pNode) : CXFA_DataData(pNode) {}
-XFA_ATTRIBUTEENUM CXFA_ParaData::GetHorizontalAlign() const {
+XFA_AttributeEnum CXFA_ParaData::GetHorizontalAlign() const {
return m_pNode->JSNode()
->TryEnum(XFA_Attribute::HAlign, true)
- .value_or(XFA_ATTRIBUTEENUM_Left);
+ .value_or(XFA_AttributeEnum::Left);
}
-XFA_ATTRIBUTEENUM CXFA_ParaData::GetVerticalAlign() const {
+XFA_AttributeEnum CXFA_ParaData::GetVerticalAlign() const {
return m_pNode->JSNode()
->TryEnum(XFA_Attribute::VAlign, true)
- .value_or(XFA_ATTRIBUTEENUM_Top);
+ .value_or(XFA_AttributeEnum::Top);
}
float CXFA_ParaData::GetLineHeight() const {