| Index: third_party/icu/source/i18n/rbnf.cpp
|
| ===================================================================
|
| --- third_party/icu/source/i18n/rbnf.cpp (revision 74230)
|
| +++ third_party/icu/source/i18n/rbnf.cpp (working copy)
|
| @@ -5,7 +5,6 @@
|
| *******************************************************************************
|
| */
|
|
|
| -#include <typeinfo> // for 'typeid' to work
|
|
|
| #include "unicode/rbnf.h"
|
|
|
| @@ -874,7 +873,7 @@
|
| return TRUE;
|
| }
|
|
|
| - if (typeid(*this) == typeid(other)) {
|
| + if (CR_TYPEID(*this) == CR_TYPEID(other)) {
|
| const RuleBasedNumberFormat& rhs = (const RuleBasedNumberFormat&)other;
|
| if (locale == rhs.locale &&
|
| lenient == rhs.lenient &&
|
| @@ -1553,7 +1552,7 @@
|
|
|
| Collator* temp = Collator::createInstance(locale, status);
|
| RuleBasedCollator* newCollator;
|
| - if (U_SUCCESS(status) && (newCollator = dynamic_cast<RuleBasedCollator*>(temp)) != NULL) {
|
| + if (U_SUCCESS(status) && (newCollator = CR_DYNAMIC_CAST<RuleBasedCollator*>(temp)) != NULL) {
|
| if (lenientParseRules) {
|
| UnicodeString rules(newCollator->getRules());
|
| rules.append(*lenientParseRules);
|
|
|