Index: xfa/fxfa/app/xfa_ffdocview.cpp |
diff --git a/xfa/fxfa/app/xfa_ffdocview.cpp b/xfa/fxfa/app/xfa_ffdocview.cpp |
index 986e265a45847ea431eb75ae2c006a6fdb605bed..7a858748b726edc4b93a5bc85ac6609db2b83e6a 100644 |
--- a/xfa/fxfa/app/xfa_ffdocview.cpp |
+++ b/xfa/fxfa/app/xfa_ffdocview.cpp |
@@ -779,9 +779,9 @@ void CXFA_FFDocView::RunBindItems() { |
wsLabelRef.IsEmpty() || wsLabelRef == FX_WSTRC(L"$"); |
const bool bValueUseContent = |
wsValueRef.IsEmpty() || wsValueRef == FX_WSTRC(L"$"); |
- CFX_WideString wsValue, wsLabel; |
- uint32_t uValueHash = |
- FX_HashCode_String_GetW(wsValueRef.c_str(), wsValueRef.GetLength()); |
+ CFX_WideString wsValue; |
+ CFX_WideString wsLabel; |
+ uint32_t uValueHash = FX_HashCode_GetW(wsValueRef, false); |
for (int32_t i = 0; i < iCount; i++) { |
CXFA_Object* refObj = rs.nodes[i]; |
if (!refObj->IsNode()) { |