X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/4388f060552cc537e71e957d32f35e9d75a61233..ef6cf650f4a75c3f97de06b51fa104f2069b9ea2:/icuSources/common/unormcmp.cpp diff --git a/icuSources/common/unormcmp.cpp b/icuSources/common/unormcmp.cpp index 521e3558..1b072c4c 100644 --- a/icuSources/common/unormcmp.cpp +++ b/icuSources/common/unormcmp.cpp @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 2001-2011, International Business Machines +* Copyright (C) 2001-2014, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -32,8 +32,6 @@ U_NAMESPACE_USE -#define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) - /* compare canonically equivalent ------------------------------------------- */ /* @@ -605,7 +603,7 @@ unorm_compare(const UChar *s1, int32_t length1, if(!(options&UNORM_INPUT_IS_FCD) || (options&U_FOLD_CASE_EXCLUDE_SPECIAL_I)) { const Normalizer2 *n2; if(options&U_FOLD_CASE_EXCLUDE_SPECIAL_I) { - n2=Normalizer2Factory::getNFDInstance(*pErrorCode); + n2=Normalizer2::getNFDInstance(*pErrorCode); } else { n2=Normalizer2Factory::getFCDInstance(*pErrorCode); }