summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_calculatedata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_calculatedata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_calculatedata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_calculatedata.cpp b/xfa/fxfa/parser/cxfa_calculatedata.cpp
index 5bf106cbf0..c5a2781308 100644
--- a/xfa/fxfa/parser/cxfa_calculatedata.cpp
+++ b/xfa/fxfa/parser/cxfa_calculatedata.cpp
@@ -12,10 +12,10 @@
CXFA_CalculateData::CXFA_CalculateData(CXFA_Node* pNode)
: CXFA_DataData(pNode) {}
-int32_t CXFA_CalculateData::GetOverride() const {
+XFA_AttributeEnum CXFA_CalculateData::GetOverride() const {
return m_pNode->JSNode()
->TryEnum(XFA_Attribute::Override, false)
- .value_or(XFA_ATTRIBUTEENUM_Error);
+ .value_or(XFA_AttributeEnum::Error);
}
CXFA_ScriptData CXFA_CalculateData::GetScriptData() const {