| Index: third_party/icu/source/i18n/dtptngen.cpp
|
| ===================================================================
|
| --- third_party/icu/source/i18n/dtptngen.cpp (revision 74230)
|
| +++ third_party/icu/source/i18n/dtptngen.cpp (working copy)
|
| @@ -414,7 +414,7 @@
|
| DateFormat::EStyle style = (DateFormat::EStyle)i;
|
| df = DateFormat::createDateInstance(style, locale);
|
| SimpleDateFormat* sdf;
|
| - if (df != NULL && (sdf = dynamic_cast<SimpleDateFormat*>(df)) != NULL) {
|
| + if (df != NULL && (sdf = CR_DYNAMIC_CAST<SimpleDateFormat*>(df)) != NULL) {
|
| conflictingStatus = addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status);
|
| }
|
| // TODO Maybe we should return an error when the date format isn't simple.
|
| @@ -424,7 +424,7 @@
|
| }
|
|
|
| df = DateFormat::createTimeInstance(style, locale);
|
| - if (df != NULL && (sdf = dynamic_cast<SimpleDateFormat*>(df)) != NULL) {
|
| + if (df != NULL && (sdf = CR_DYNAMIC_CAST<SimpleDateFormat*>(df)) != NULL) {
|
| conflictingStatus = addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status);
|
| // HACK for hh:ss
|
| if ( i==DateFormat::kMedium ) {
|
|
|