ICU-9115 revert r31397

X-SVN-Rev: 31488
This commit is contained in:
Jungshik Shin 2012-02-23 01:27:08 +00:00
parent a78862686b
commit 26907a9105

View file

@ -166,12 +166,6 @@ ubrk_setText(UBreakIterator* bi,
int32_t textLength,
UErrorCode* status)
{
if (bi == NULL) {
if (U_SUCCESS(*status)) {
*status = U_ILLEGAL_ARGUMENT_ERROR;
}
return;
}
BreakIterator *brit = (BreakIterator *)bi;
UText ut = UTEXT_INITIALIZER;
utext_openUChars(&ut, text, textLength, status);
@ -187,12 +181,6 @@ ubrk_setUText(UBreakIterator *bi,
UText *text,
UErrorCode *status)
{
if (bi == NULL) {
if (U_SUCCESS(*status)) {
*status = U_ILLEGAL_ARGUMENT_ERROR;
}
return;
}
RuleBasedBreakIterator *brit = (RuleBasedBreakIterator *)bi;
brit->RuleBasedBreakIterator::setText(text, *status);
}