Logo Search packages:      
Sourcecode: icu version File versions  Download package

void RuleBasedCollator::setUCollator ( const char *  locale,
UErrorCode status 
) [private]

Creates the c struct for ucollator

Parameters:
locale desired locale name
status error status

Definition at line 687 of file tblcoll.cpp.

References FALSE, TRUE, U_FAILURE, and ucollator.

{
    if (U_FAILURE(status))
        return;
    if (ucollator && dataIsOwned)
        ucol_close(ucollator);
    ucollator = ucol_open_internal(locale, &status);
    dataIsOwned = TRUE;
    isWriteThroughAlias = FALSE;
}


Generated by  Doxygen 1.6.0   Back to index