diff options
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp index 10f0a40017..7da4ed551d 100644 --- a/xfa/fxfa/parser/cxfa_node.cpp +++ b/xfa/fxfa/parser/cxfa_node.cpp @@ -2662,7 +2662,7 @@ void CXFA_Node::SetImageEdit(const WideString& wsContentType, } else { CFX_XMLNode* pXMLNode = pBind->GetXMLMappingNode(); ASSERT(pXMLNode && pXMLNode->GetType() == FX_XMLNODE_Element); - static_cast<CFX_XMLElement*>(pXMLNode)->SetString(L"href", wsHref); + static_cast<CFX_XMLElement*>(pXMLNode)->SetAttribute(L"href", wsHref); } } @@ -4662,8 +4662,8 @@ void CXFA_Node::SetToXML(const WideString& value) { switch (eXMLType) { case FX_XMLNODE_Element: { if (IsAttributeInXML()) { - elem->SetString(JSObject()->GetCData(XFA_Attribute::QualifiedName), - value); + elem->SetAttribute(JSObject()->GetCData(XFA_Attribute::QualifiedName), + value); return; } |