Index: xfa/fxfa/parser/xfa_script_nodehelper.cpp |
diff --git a/xfa/fxfa/parser/xfa_script_nodehelper.cpp b/xfa/fxfa/parser/xfa_script_nodehelper.cpp |
index 96ae98aeaf89448ffca5119cb1e1395f6d14b609..96ecc5a125a9e009017379fe8bf240a84cc61ef0 100644 |
--- a/xfa/fxfa/parser/xfa_script_nodehelper.cpp |
+++ b/xfa/fxfa/parser/xfa_script_nodehelper.cpp |
@@ -33,7 +33,7 @@ CXFA_Node* CXFA_NodeHelper::XFA_ResolveNodes_GetOneChild( |
return NULL; |
} |
CXFA_NodeArray siblings; |
- uint32_t uNameHash = FX_HashCode_String_GetW(pwsName, FXSYS_wcslen(pwsName)); |
+ uint32_t uNameHash = FX_HashCode_GetW(CFX_WideStringC(pwsName), false); |
XFA_NodeAcc_TraverseAnySiblings(parent, uNameHash, &siblings, bIsClassName); |
if (siblings.GetSize() == 0) { |
return NULL; |