| Index: third_party/icu/source/test/intltest/numfmtst.cpp
|
| ===================================================================
|
| --- third_party/icu/source/test/intltest/numfmtst.cpp (revision 74230)
|
| +++ third_party/icu/source/test/intltest/numfmtst.cpp (working copy)
|
| @@ -1449,7 +1449,7 @@
|
| }
|
|
|
| // Make sure EURO currency formats have exactly 2 fraction digits
|
| - DecimalFormat* df = dynamic_cast<DecimalFormat*>(nf);
|
| + DecimalFormat* df = CR_DYNAMIC_CAST<DecimalFormat*>(nf);
|
| if (df != NULL) {
|
| if (u_strcmp(EUR, df->getCurrency()) == 0) {
|
| if (min != 2 || max != 2) {
|
| @@ -2865,7 +2865,7 @@
|
| if (U_FAILURE(status)) {
|
| errln("FAIL: measure format parsing: '%s' ec: %s", formats[i], u_errorName(status));
|
| } else if (result.getType() != Formattable::kObject ||
|
| - (curramt = dynamic_cast<const CurrencyAmount*>(result.getObject())) == NULL ||
|
| + (curramt = CR_DYNAMIC_CAST<const CurrencyAmount*>(result.getObject())) == NULL ||
|
| curramt->getNumber().getDouble() != 1234.56 ||
|
| UnicodeString(curramt->getISOCurrency()).compare(ISO_CURRENCY_USD)
|
| ) {
|
|
|