X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/46f4442e9a5a4f3b98b7c1083586332f6a8a99a4..729e4ab9bc6618bc3d8a898e575df7f4019e29ca:/icuSources/common/serv.cpp diff --git a/icuSources/common/serv.cpp b/icuSources/common/serv.cpp index f94fd439..4f1da5be 100644 --- a/icuSources/common/serv.cpp +++ b/icuSources/common/serv.cpp @@ -1,7 +1,7 @@ /** ******************************************************************************* -* Copyright (C) 2001-2008, International Business Machines Corporation. * -* All Rights Reserved. * +* Copyright (C) 2001-2010, International Business Machines Corporation. +* All Rights Reserved. ******************************************************************************* */ @@ -948,7 +948,7 @@ ICUService::clearServiceCache() UBool ICUService::acceptsListener(const EventListener& l) const { - return l.getDynamicClassID() == ServiceListener::getStaticClassID(); + return dynamic_cast(&l) != NULL; } void