Remove use of icu::Locale C++ type
authorMatt Ellis <matell@microsoft.com>
Wed, 21 Oct 2015 02:30:42 +0000 (19:30 -0700)
committerMatt Ellis <matell@microsoft.com>
Wed, 21 Oct 2015 20:49:01 +0000 (13:49 -0700)
commit0b3b276ea837e3ae9720e72142fe5c0ae54ad5a3
tree1f82f3b4e84b20e51ce2910d2c55ae7f56de4737
parent6427d1fb7c1643efe31494b1cbfa122bb588b91b
Remove use of icu::Locale C++ type

Remove all the uses of the icu::Locale type in favor of just using a
char* which is the raw locale id (which is exactly what all the ICU C
apis use for a locale).

The meat of this change si in locale.cpp to actually handle doing the
conversion from UChar* to char*.  The rest of the places are dealing
with the fallout (GetLocale now has a different signiture and the
.getName() dance is no longer needed as we have a raw locale name all
the time now).
src/corefx/System.Globalization.Native/calendarData.cpp
src/corefx/System.Globalization.Native/locale.cpp
src/corefx/System.Globalization.Native/locale.hpp
src/corefx/System.Globalization.Native/localeNumberData.cpp
src/corefx/System.Globalization.Native/localeStringData.cpp