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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_calculatedata.cpp b/xfa/fxfa/parser/cxfa_calculatedata.cpp
index c5a2781308..b0feb59fd4 100644
--- a/xfa/fxfa/parser/cxfa_calculatedata.cpp
+++ b/xfa/fxfa/parser/cxfa_calculatedata.cpp
@@ -13,7 +13,7 @@ CXFA_CalculateData::CXFA_CalculateData(CXFA_Node* pNode)
: CXFA_DataData(pNode) {}
XFA_AttributeEnum CXFA_CalculateData::GetOverride() const {
- return m_pNode->JSNode()
+ return m_pNode->JSObject()
->TryEnum(XFA_Attribute::Override, false)
.value_or(XFA_AttributeEnum::Error);
}