Index: xfa/fgas/crt/fgas_stream.cpp |
diff --git a/xfa/fgas/crt/fgas_stream.cpp b/xfa/fgas/crt/fgas_stream.cpp |
index 94468e23da4781f199bdd0bd0ee6ebe27ac1d24a..02fa2109d166c9a542adf8ce57ad3355a0ec6d48 100644 |
--- a/xfa/fgas/crt/fgas_stream.cpp |
+++ b/xfa/fgas/crt/fgas_stream.cpp |
@@ -1112,7 +1112,7 @@ int32_t CFX_TextStream::WriteString(const FX_WCHAR* pStr, int32_t iLength) { |
encoder.Input(*pStr++); |
} |
CFX_ByteStringC bsResult = encoder.GetResult(); |
- m_pStreamImp->WriteData((const uint8_t*)bsResult.GetCStr(), |
+ m_pStreamImp->WriteData((const uint8_t*)bsResult.c_str(), |
bsResult.GetLength()); |
} |
return iLength; |