mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-20 20:19:32 +00:00
ICU-11740 Attempt to fix broken build.
X-SVN-Rev: 37822
This commit is contained in:
parent
2860cd48c4
commit
896009e9da
1 changed files with 2 additions and 3 deletions
|
@ -448,9 +448,8 @@ Region::getInstance (int32_t code, UErrorCode &status) {
|
|||
Region *r = (Region *)uhash_iget(numericCodeMap,code);
|
||||
|
||||
if ( !r ) { // Just in case there's an alias that's numeric, try to find it.
|
||||
UErrorCode fs = U_ZERO_ERROR;
|
||||
UnicodeString pat = UNICODE_STRING_SIMPLE("00#");
|
||||
LocalPointer<DecimalFormat> df(new DecimalFormat(pat,fs), status);
|
||||
UnicodeString pat = UNICODE_STRING_SIMPLE("0");
|
||||
LocalPointer<DecimalFormat> df(new DecimalFormat(pat,status), status);
|
||||
if( U_FAILURE(status) ) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue