Home
last modified time | relevance | path

Searched refs:newCollator (Results 1 – 1 of 1) sorted by relevance

/external/icu/icu4c/source/i18n/
Drbnf.cpp1662 RuleBasedCollator* newCollator; in getCollator() local
1663 if (U_SUCCESS(status) && (newCollator = dynamic_cast<RuleBasedCollator*>(temp)) != NULL) { in getCollator()
1665 UnicodeString rules(newCollator->getRules()); in getCollator()
1668 newCollator = new RuleBasedCollator(rules, status); in getCollator()
1670 if (newCollator == NULL) { in getCollator()
1677 newCollator->setAttribute(UCOL_DECOMPOSITION_MODE, UCOL_ON, status); in getCollator()
1679 ((RuleBasedNumberFormat*)this)->collator = newCollator; in getCollator()
1681 delete newCollator; in getCollator()