| Index: third_party/icu/source/i18n/reldtfmt.cpp
|
| ===================================================================
|
| --- third_party/icu/source/i18n/reldtfmt.cpp (revision 74230)
|
| +++ third_party/icu/source/i18n/reldtfmt.cpp (working copy)
|
| @@ -288,7 +288,7 @@
|
| if (!U_FAILURE(status)) {
|
| result.remove();
|
| if ( fDateFormat ) {
|
| - SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(fDateFormat);
|
| + SimpleDateFormat* sdtfmt = CR_DYNAMIC_CAST<SimpleDateFormat*>(fDateFormat);
|
| if (sdtfmt != NULL) {
|
| sdtfmt->toPattern(result);
|
| } else {
|
| @@ -305,7 +305,7 @@
|
| if (!U_FAILURE(status)) {
|
| result.remove();
|
| if ( fTimeFormat ) {
|
| - SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(fTimeFormat);
|
| + SimpleDateFormat* sdtfmt = CR_DYNAMIC_CAST<SimpleDateFormat*>(fTimeFormat);
|
| if (sdtfmt != NULL) {
|
| sdtfmt->toPattern(result);
|
| } else {
|
| @@ -322,11 +322,11 @@
|
| if (!U_FAILURE(status)) {
|
| SimpleDateFormat* sdtfmt = NULL;
|
| SimpleDateFormat* stmfmt = NULL;
|
| - if (fDateFormat && (sdtfmt = dynamic_cast<SimpleDateFormat*>(fDateFormat)) == NULL) {
|
| + if (fDateFormat && (sdtfmt = CR_DYNAMIC_CAST<SimpleDateFormat*>(fDateFormat)) == NULL) {
|
| status = U_UNSUPPORTED_ERROR;
|
| return;
|
| }
|
| - if (fTimeFormat && (stmfmt = dynamic_cast<SimpleDateFormat*>(fTimeFormat)) == NULL) {
|
| + if (fTimeFormat && (stmfmt = CR_DYNAMIC_CAST<SimpleDateFormat*>(fTimeFormat)) == NULL) {
|
| status = U_UNSUPPORTED_ERROR;
|
| return;
|
| }
|
|
|