removed unnecessary and uncalled private methods

X-SVN-Rev: 10311
This commit is contained in:
Syn Wee Quek 2002-11-21 01:11:57 +00:00
parent 41accb8237
commit 8ec395e863

View File

@ -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)
{