ICU-882 Don't use the deprecated API.
X-SVN-Rev: 3931
This commit is contained in:
parent
fa645b0cee
commit
de8965f853
@ -637,7 +637,7 @@ Transliterator* Transliterator::_createInstance(const UnicodeString& ID,
|
||||
// name; this in no way represents an actual locale.
|
||||
|
||||
char *ch;
|
||||
ch = new char[entry->stringArg.size() + 1];
|
||||
ch = new char[entry->stringArg.length() + 1];
|
||||
ch[entry->stringArg.extract(0, 0x7fffffff, ch, "")] = 0;
|
||||
Locale fakeLocale(ch);
|
||||
delete [] ch;
|
||||
|
Loading…
Reference in New Issue
Block a user