OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * Copyright (C) 1997-2010, International Business Machines Corporation and | 3 * Copyright (C) 1997-2010, International Business Machines Corporation and |
4 * others. All Rights Reserved. | 4 * others. All Rights Reserved. |
5 ******************************************************************************* | 5 ******************************************************************************* |
6 * | 6 * |
7 * File TXTBDRY.CPP | 7 * File TXTBDRY.CPP |
8 * | 8 * |
9 * Modification History: | 9 * Modification History: |
10 * | 10 * |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 U_LOCALE_BASED(locBased, *this); | 429 U_LOCALE_BASED(locBased, *this); |
430 return locBased.getLocale(type, status); | 430 return locBased.getLocale(type, status); |
431 } | 431 } |
432 | 432 |
433 const char * | 433 const char * |
434 BreakIterator::getLocaleID(ULocDataLocaleType type, UErrorCode& status) const { | 434 BreakIterator::getLocaleID(ULocDataLocaleType type, UErrorCode& status) const { |
435 U_LOCALE_BASED(locBased, *this); | 435 U_LOCALE_BASED(locBased, *this); |
436 return locBased.getLocaleID(type, status); | 436 return locBased.getLocaleID(type, status); |
437 } | 437 } |
438 | 438 |
| 439 // This implementation of getRuleStatus is a do-nothing stub, here to |
| 440 // provide a default implementation for any derived BreakIterator classes that |
| 441 // do not implement it themselves. |
| 442 int32_t BreakIterator::getRuleStatus() const { |
| 443 return 0; |
| 444 } |
| 445 |
439 U_NAMESPACE_END | 446 U_NAMESPACE_END |
440 | 447 |
441 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ | 448 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ |
442 | 449 |
443 //eof | 450 //eof |
OLD | NEW |