Index: xfa/fxfa/parser/xfa_utils_imp.cpp |
diff --git a/xfa/fxfa/parser/xfa_utils_imp.cpp b/xfa/fxfa/parser/xfa_utils_imp.cpp |
index 3d2e8bed4e7bd7eda3492b2922013f7da574e977..1b3dddc674943afcc9b65050797b91cad4782f8e 100644 |
--- a/xfa/fxfa/parser/xfa_utils_imp.cpp |
+++ b/xfa/fxfa/parser/xfa_utils_imp.cpp |
@@ -392,8 +392,7 @@ FX_DOUBLE XFA_WideStringToDouble(const CFX_WideString& wsStringVal) { |
} |
FX_DOUBLE XFA_ByteStringToDouble(const CFX_ByteStringC& szStringVal) { |
- CFX_WideString wsValue = |
- CFX_WideString::FromUTF8(szStringVal.c_str(), szStringVal.GetLength()); |
+ CFX_WideString wsValue = CFX_WideString::FromUTF8(szStringVal); |
return XFA_WideStringToDouble(wsValue); |
} |