summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_nodehelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_nodehelper.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_nodehelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_nodehelper.cpp b/xfa/fxfa/parser/cxfa_nodehelper.cpp
index 4c9e67b96c..bc1d5c2031 100644
--- a/xfa/fxfa/parser/cxfa_nodehelper.cpp
+++ b/xfa/fxfa/parser/cxfa_nodehelper.cpp
@@ -260,7 +260,7 @@ void CXFA_NodeHelper::GetNameExpression(CXFA_Node* refNode,
GetIndex(refNode, eLogicType, bIsProperty, true));
return;
}
- ws = refNode->JSNode()->GetCData(XFA_ATTRIBUTE_Name);
+ ws = refNode->JSNode()->GetCData(XFA_Attribute::Name);
ws.Replace(L".", L"\\.");
wsName.Format(L"%s[%d]", ws.c_str(),
GetIndex(refNode, eLogicType, bIsProperty, false));
@@ -361,7 +361,7 @@ bool CXFA_NodeHelper::ResolveNodes_CreateNode(WideString wsName,
for (int32_t iIndex = 0; iIndex < m_iCreateCount; iIndex++) {
CXFA_Node* pNewNode = m_pCreateParent->CreateSamePacketNode(eClassType);
if (pNewNode) {
- pNewNode->JSNode()->SetAttribute(XFA_ATTRIBUTE_Name,
+ pNewNode->JSNode()->SetAttribute(XFA_Attribute::Name,
wsName.AsStringView(), false);
pNewNode->CreateXMLMappingNode();
m_pCreateParent->InsertChild(pNewNode, nullptr);