ICU-2118
removed unnecessary and uncalled private methods X-SVN-Rev: 10311
This commit is contained in:
parent
41accb8237
commit
8ec395e863
@ -739,12 +739,6 @@ private:
|
||||
*/
|
||||
void setUCollator(const char* locale, UErrorCode& status);
|
||||
|
||||
/**
|
||||
* Creates the c struct for ucollator
|
||||
* @param collator new ucollator data
|
||||
*/
|
||||
void setUCollator(UCollator *collator);
|
||||
|
||||
/**
|
||||
* Creates the c struct for ucollator. This used internally by StringSearch.
|
||||
* Hence the responsibility of cleaning up the ucollator is not done by
|
||||
@ -808,14 +802,6 @@ inline void RuleBasedCollator::setUCollator(const Locale &locale,
|
||||
setUCollator(locale.getName(), status);
|
||||
}
|
||||
|
||||
inline void RuleBasedCollator::setUCollator(UCollator *collator)
|
||||
{
|
||||
if (ucollator && dataIsOwned) {
|
||||
ucol_close(ucollator);
|
||||
}
|
||||
ucollator = collator;
|
||||
}
|
||||
|
||||
inline void RuleBasedCollator::setUCollator(UCollator *collator,
|
||||
UnicodeString *rules)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user