summaryrefslogtreecommitdiff
path: root/fxjs/cfxjse_formcalc_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cfxjse_formcalc_context.cpp')
-rw-r--r--fxjs/cfxjse_formcalc_context.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/fxjs/cfxjse_formcalc_context.cpp b/fxjs/cfxjse_formcalc_context.cpp
index 1777102e06..b02e5a9d41 100644
--- a/fxjs/cfxjse_formcalc_context.cpp
+++ b/fxjs/cfxjse_formcalc_context.cpp
@@ -5853,8 +5853,8 @@ void CFXJSE_FormCalcContext::GetObjectDefaultValue(
pDefaultValue->SetNull();
return;
}
- pNode->JSNode()->Script_Som_DefaultValue(pDefaultValue, false,
- XFA_Attribute::Unknown);
+ pNode->JSObject()->Script_Som_DefaultValue(pDefaultValue, false,
+ XFA_Attribute::Unknown);
}
// static
@@ -5864,8 +5864,8 @@ bool CFXJSE_FormCalcContext::SetObjectDefaultValue(CFXJSE_Value* pValue,
if (!pNode)
return false;
- pNode->JSNode()->Script_Som_DefaultValue(hNewValue, true,
- XFA_Attribute::Unknown);
+ pNode->JSObject()->Script_Som_DefaultValue(hNewValue, true,
+ XFA_Attribute::Unknown);
return true;
}
@@ -5951,7 +5951,7 @@ bool CFXJSE_FormCalcContext::ResolveObjects(CFXJSE_Value* pThis,
WideString wsName;
if (CXFA_Node* pXFANode = pNode->AsNode()) {
pdfium::Optional<WideString> ret =
- pXFANode->JSNode()->TryAttribute(XFA_Attribute::Name, false);
+ pXFANode->JSObject()->TryAttribute(XFA_Attribute::Name, false);
if (ret)
wsName = *ret;
}