Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: source/common/brkiter.cpp

Issue 23480090: Add BreakIterator::getRuleStatus (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu46.git@master
Patch Set: Proposed patch v3 Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « patches/breakiterator.patch ('k') | source/common/unicode/brkiter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « patches/breakiterator.patch ('k') | source/common/unicode/brkiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698