Index: xfa/fxfa/app/xfa_ffwidgetacc.cpp |
diff --git a/xfa/fxfa/app/xfa_ffwidgetacc.cpp b/xfa/fxfa/app/xfa_ffwidgetacc.cpp |
index fb2b0c3ffd596957b289a079d16e4e5875fd7c1c..e5b70d6a8137822d3534369ca0a97235cd9f6dba 100644 |
--- a/xfa/fxfa/app/xfa_ffwidgetacc.cpp |
+++ b/xfa/fxfa/app/xfa_ffwidgetacc.cpp |
@@ -696,7 +696,7 @@ int32_t CXFA_WidgetAcc::ExecuteScript(CXFA_Script script, |
CFX_ByteString bsString; |
FXJSE_Value_ToUTF8String(hRetValue, bsString); |
pEventParam->m_wsResult = |
- CFX_WideString::FromUTF8(bsString, bsString.GetLength()); |
+ CFX_WideString::FromUTF8(bsString.AsByteStringC()); |
} |
iRet = XFA_EVENTERROR_Success; |
} else { |