ICU-13788 Fixing issue with accidental UErrorCode conversion to UBool.
X-SVN-Rev: 41472
This commit is contained in:
parent
1662340d17
commit
b6a793bafd
@ -43,8 +43,8 @@ NumberParserImpl::createSimpleParser(const Locale& locale, const UnicodeString&
|
||||
IgnorablesMatcher& ignorables = parser->fLocalMatchers.ignorables;
|
||||
|
||||
DecimalFormatSymbols dfs(locale, status);
|
||||
dfs.setSymbol(DecimalFormatSymbols::kCurrencySymbol, u"IU$", status);
|
||||
dfs.setSymbol(DecimalFormatSymbols::kIntlCurrencySymbol, u"ICU", status);
|
||||
dfs.setSymbol(DecimalFormatSymbols::kCurrencySymbol, u"IU$");
|
||||
dfs.setSymbol(DecimalFormatSymbols::kIntlCurrencySymbol, u"ICU");
|
||||
CurrencySymbols currencySymbols({u"ICU", status}, locale, dfs, status);
|
||||
|
||||
ParsedPatternInfo patternInfo;
|
||||
|
Loading…
Reference in New Issue
Block a user