ICU-13788 Fixing issue with accidental UErrorCode conversion to UBool.

X-SVN-Rev: 41472
This commit is contained in:
Jeff Genovy 2018-05-29 01:59:42 +00:00
parent 1662340d17
commit b6a793bafd

View File

@ -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;