diff options
Diffstat (limited to 'xfa/src/fxfa/src/parser/xfa_object_imp.cpp')
-rw-r--r-- | xfa/src/fxfa/src/parser/xfa_object_imp.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/xfa/src/fxfa/src/parser/xfa_object_imp.cpp b/xfa/src/fxfa/src/parser/xfa_object_imp.cpp index be2bed9334..86c267bcc3 100644 --- a/xfa/src/fxfa/src/parser/xfa_object_imp.cpp +++ b/xfa/src/fxfa/src/parser/xfa_object_imp.cpp @@ -3967,13 +3967,8 @@ FX_BOOL CXFA_Node::SetCData(XFA_ATTRIBUTE eAttr, SetUserData(pKey, pClone, &deleteWideStringCallBack);
} else {
SetMapModuleString(pKey, wsValue);
- if (eAttr == XFA_ATTRIBUTE_Name) {
+ if (eAttr == XFA_ATTRIBUTE_Name)
UpdateNameHash();
- if (XFA_LPCJSBUILTININFO pBuiltin =
- XFA_GetJSBuiltinByHash(m_dwNameHash)) {
- m_pDocument->GetScriptContext()->AddJSBuiltinObject(pBuiltin);
- }
- }
}
OnChanged(eAttr, (void*)(const FX_WCHAR*)wsValue, bNotify, bScriptModify);
if (IsNeedSavingXMLNode() && eAttr != XFA_ATTRIBUTE_QualifiedName &&
|