ICU-9778 replace use of deprecated ucol_getContractions()
X-SVN-Rev: 35266
This commit is contained in:
parent
43958793f7
commit
15daddd56d
@ -1665,7 +1665,8 @@ ucol_getUnsafeSet( const UCollator *coll,
|
||||
USet *contractions = uset_open(0,0);
|
||||
|
||||
int32_t i = 0, j = 0;
|
||||
int32_t contsSize = ucol_getContractions(coll, contractions, status);
|
||||
ucol_getContractionsAndExpansions(coll, contractions, NULL, FALSE, status);
|
||||
int32_t contsSize = uset_size(contractions);
|
||||
UChar32 c = 0;
|
||||
// Contraction set consists only of strings
|
||||
// to get unsafe code points, we need to
|
||||
|
Loading…
Reference in New Issue
Block a user