ICU-45 use TRUE/FALSE not true/false [*bbi]
X-SVN-Rev: 553
This commit is contained in:
parent
6efc3436b6
commit
5ecfe44aa4
@ -300,7 +300,7 @@ DictionaryBasedBreakIterator::divideUpDictionaryRange(int32_t startPos, int32_t
|
||||
|
||||
// initialize (we always exit the loop with a break statement)
|
||||
c = text->current();
|
||||
while (true) {
|
||||
while (TRUE) {
|
||||
|
||||
// if we can transition to state "-1" from our current state, we're
|
||||
// on the last character of a legal word. Push that position onto
|
||||
|
@ -49,7 +49,7 @@ protected class Builder extends RuleBasedBreakIterator.Builder {
|
||||
for (int i = 0; i < categories.size(); i++) {
|
||||
CharSet cs = (CharSet)categories.elementAt(i);
|
||||
if (!(cs.intersection(dictionaryChars).empty())) {
|
||||
categoryFlags[i] = true;
|
||||
categoryFlags[i] = TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -399,7 +399,7 @@ RuleBasedBreakIterator(const void* image);
|
||||
* given class have the same class ID. Objects of
|
||||
* other classes have different class IDs.
|
||||
*/
|
||||
virtual UClassID getDynamicClassID() const;
|
||||
inline virtual UClassID getDynamicClassID() const;
|
||||
|
||||
/**
|
||||
* Returns the class ID for this class. This is useful only for
|
||||
@ -411,7 +411,7 @@ RuleBasedBreakIterator(const void* image);
|
||||
*
|
||||
* @return The class ID for all objects of this class.
|
||||
*/
|
||||
static UClassID getStaticClassID();
|
||||
inline static UClassID getStaticClassID();
|
||||
|
||||
protected:
|
||||
//=======================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user