Index: xfa/fxfa/parser/xfa_script_imp.cpp |
diff --git a/xfa/fxfa/parser/xfa_script_imp.cpp b/xfa/fxfa/parser/xfa_script_imp.cpp |
index d92cdc7271cf6eaf667586907fcfe256ce866278..84d84bd153e3c26a6c0ec478991c85c91e17e82d 100644 |
--- a/xfa/fxfa/parser/xfa_script_imp.cpp |
+++ b/xfa/fxfa/parser/xfa_script_imp.cpp |
@@ -181,7 +181,7 @@ void CXFA_ScriptContext::GlobalPropertyGetter(FXJSE_HOBJECT hObject, |
return; |
} |
uint32_t uHashCode = |
- FX_HashCode_String_GetW(wsPropName, wsPropName.GetLength()); |
+ FX_HashCode_String_GetW(wsPropName.c_str(), wsPropName.GetLength()); |
if (uHashCode != XFA_HASHCODE_Layout) { |
CXFA_Object* pObject = |
lpScriptContext->GetDocument()->GetXFAObject(uHashCode); |