| Index: third_party/icu/source/test/intltest/numrgts.cpp
|
| ===================================================================
|
| --- third_party/icu/source/test/intltest/numrgts.cpp (revision 74230)
|
| +++ third_party/icu/source/test/intltest/numrgts.cpp (working copy)
|
| @@ -505,7 +505,7 @@
|
| failure(status, "NumberFormat::createInstance", Locale::getFrance());
|
|
|
| // C++ workaround to make sure cast works
|
| - DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1);
|
| + DecimalFormat *nf = CR_DYNAMIC_CAST<DecimalFormat *>(nf1);
|
| if(nf == NULL) {
|
| errln("NumberFormat::createInstance returned incorrect type.");
|
| return;
|
| @@ -841,7 +841,7 @@
|
| delete nf;
|
| return;
|
| }
|
| - DecimalFormat *df = dynamic_cast<DecimalFormat *>(nf);
|
| + DecimalFormat *df = CR_DYNAMIC_CAST<DecimalFormat *>(nf);
|
| if(df == NULL) {
|
| errln("expected DecimalFormat!");
|
| return;
|
| @@ -1912,7 +1912,7 @@
|
| delete nff;
|
| return;
|
| };
|
| - DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nff);
|
| + DecimalFormat *nf = CR_DYNAMIC_CAST<DecimalFormat *>(nff);
|
| if(nf == NULL) {
|
| errln("DecimalFormat needed to continue");
|
| return;
|
| @@ -2189,7 +2189,7 @@
|
| delete nf;
|
| return;
|
| };
|
| - DecimalFormat *df = dynamic_cast<DecimalFormat *>(nf);
|
| + DecimalFormat *df = CR_DYNAMIC_CAST<DecimalFormat *>(nf);
|
| if(df == NULL) {
|
| errln("DecimalFormat needed to continue");
|
| return;
|
|
|