Index: xfa/fgas/crt/fgas_codepage.cpp |
diff --git a/xfa/fgas/crt/fgas_codepage.cpp b/xfa/fgas/crt/fgas_codepage.cpp |
index 57d97db83c0f23ee5ab0cc0201b60f5aca9410c3..4734a0005e38b82ef398e867007950e6ae478515 100644 |
--- a/xfa/fgas/crt/fgas_codepage.cpp |
+++ b/xfa/fgas/crt/fgas_codepage.cpp |
@@ -339,5 +339,5 @@ uint16_t FX_GetCodePageFormStringW(const FX_WCHAR* pStr, int32_t iLength) { |
*pBuf++ = (FX_CHAR)*pStr++; |
} |
csStr.ReleaseBuffer(iLength); |
- return FX_GetCodePageFromStringA(csStr, iLength); |
+ return FX_GetCodePageFromStringA(csStr.c_str(), iLength); |
} |