| Index: xfa/fxfa/parser/cxfa_widgetdata.cpp
|
| diff --git a/xfa/fxfa/parser/cxfa_widgetdata.cpp b/xfa/fxfa/parser/cxfa_widgetdata.cpp
|
| index a702527347d7ba2a3d66f4e415b2baf524dc222f..0c3d065a39a2145742821335eba3b1d6b32278fd 100644
|
| --- a/xfa/fxfa/parser/cxfa_widgetdata.cpp
|
| +++ b/xfa/fxfa/parser/cxfa_widgetdata.cpp
|
| @@ -466,8 +466,7 @@ CXFA_Node* CXFA_WidgetData::GetSelectedMember() {
|
| CXFA_Node* CXFA_WidgetData::SetSelectedMember(const CFX_WideStringC& wsName,
|
| FX_BOOL bNotify) {
|
| CXFA_Node* pSelectedMember = NULL;
|
| - uint32_t nameHash =
|
| - FX_HashCode_String_GetW(wsName.c_str(), wsName.GetLength());
|
| + uint32_t nameHash = FX_HashCode_GetW(wsName, false);
|
| for (CXFA_Node* pNode = ToNode(m_pNode->GetNodeItem(XFA_NODEITEM_FirstChild));
|
| pNode; pNode = pNode->GetNodeItem(XFA_NODEITEM_NextSibling)) {
|
| if (pNode->GetNameHash() == nameHash) {
|
|
|