Kaydet (Commit) aaccd856 authored tarafından Michael Stahl's avatar Michael Stahl

sal: it is impossible to have non-ASCII char here

...because rtl_ImplGetFastUTF8UnicodeLen has already checked that.

Change-Id: I17f2b80f374073934a8f0b1a97099d4dec89ce4e
üst 5936a64c
......@@ -696,10 +696,7 @@ retry:
pBuffer = (*ppThis)->buffer;
do
{
/* Check ASCII range */
SAL_WARN_IF( ((unsigned char)*pStr) > 127, "rtl.string",
"rtl_string2UString_status() - UTF8 test encoding is wrong" );
assert(((unsigned char)*pStr) <= 127);
*pBuffer = *pStr;
pBuffer++;
pStr++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment