ICU-3221 Fix AIX linker warnings.
X-SVN-Rev: 12985
This commit is contained in:
parent
91f8ac3c84
commit
e718691833
@ -207,6 +207,11 @@ UBool RuleBasedCollator::operator==(const Collator& that) const
|
|||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UBool RuleBasedCollator::operator!=(const Collator& other) const
|
||||||
|
{
|
||||||
|
return !(*this == other);
|
||||||
|
}
|
||||||
|
|
||||||
// aliasing, not write-through
|
// aliasing, not write-through
|
||||||
RuleBasedCollator& RuleBasedCollator::operator=(const RuleBasedCollator& that)
|
RuleBasedCollator& RuleBasedCollator::operator=(const RuleBasedCollator& that)
|
||||||
{
|
{
|
||||||
@ -670,8 +675,6 @@ RuleBasedCollator::RuleBasedCollator(const Locale& desiredLocale,
|
|||||||
dataIsOwned = TRUE;
|
dataIsOwned = TRUE;
|
||||||
isWriteThroughAlias = FALSE;
|
isWriteThroughAlias = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -755,8 +758,8 @@ const int32_t RuleBasedCollator::PRIMIGNORABLE = 0x0202;
|
|||||||
const int16_t RuleBasedCollator::FILEID = 0x5443;
|
const int16_t RuleBasedCollator::FILEID = 0x5443;
|
||||||
/* binary collation file extension */
|
/* binary collation file extension */
|
||||||
const char RuleBasedCollator::kFilenameSuffix[] = ".col";
|
const char RuleBasedCollator::kFilenameSuffix[] = ".col";
|
||||||
/* class id ? Value is irrelevant */
|
|
||||||
const char RuleBasedCollator::fgClassID = 0;
|
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(RuleBasedCollator)
|
||||||
|
|
||||||
U_NAMESPACE_END
|
U_NAMESPACE_END
|
||||||
|
|
||||||
|
@ -268,6 +268,7 @@ public:
|
|||||||
virtual UCollationResult compare(const UnicodeString& source,
|
virtual UCollationResult compare(const UnicodeString& source,
|
||||||
const UnicodeString& target,
|
const UnicodeString& target,
|
||||||
UErrorCode &status) const;
|
UErrorCode &status) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compares a range of character data stored in two different strings based
|
* Compares a range of character data stored in two different strings based
|
||||||
* on the collation rules up to the specified length. Returns information
|
* on the collation rules up to the specified length. Returns information
|
||||||
@ -641,13 +642,6 @@ private:
|
|||||||
static const int16_t FILEID;
|
static const int16_t FILEID;
|
||||||
static const char kFilenameSuffix[];
|
static const char kFilenameSuffix[];
|
||||||
|
|
||||||
// private static variables -----------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* static class id
|
|
||||||
*/
|
|
||||||
static const char fgClassID;
|
|
||||||
|
|
||||||
// private data members ---------------------------------------------------
|
// private data members ---------------------------------------------------
|
||||||
|
|
||||||
UBool dataIsOwned;
|
UBool dataIsOwned;
|
||||||
@ -801,19 +795,6 @@ private:
|
|||||||
|
|
||||||
// inline method implementation ---------------------------------------------
|
// inline method implementation ---------------------------------------------
|
||||||
|
|
||||||
inline UClassID
|
|
||||||
RuleBasedCollator::getStaticClassID(void)
|
|
||||||
{ return (UClassID)&fgClassID; }
|
|
||||||
|
|
||||||
inline UClassID
|
|
||||||
RuleBasedCollator::getDynamicClassID(void) const
|
|
||||||
{ return RuleBasedCollator::getStaticClassID(); }
|
|
||||||
|
|
||||||
inline UBool RuleBasedCollator::operator!=(const Collator& other) const
|
|
||||||
{
|
|
||||||
return !(*this == other);
|
|
||||||
}
|
|
||||||
|
|
||||||
inline void RuleBasedCollator::setUCollator(const Locale &locale,
|
inline void RuleBasedCollator::setUCollator(const Locale &locale,
|
||||||
UErrorCode &status)
|
UErrorCode &status)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user