/*
*****************************************************************
-* Copyright (c) 2002-2003, International Business Machines Corporation
+* Copyright (c) 2002-2004, International Business Machines Corporation
* and others. All Rights Reserved.
*****************************************************************
* Date Name Description
#include "uvector.h"
#include "tridpars.h"
#include "hash.h"
+#include "putilimp.h"
//------------------------------------------------------------
// Constants
//------------------------------------------------------------
// AnyTransliterator
-const char AnyTransliterator::fgClassID=0;
+UOBJECT_DEFINE_RTTI_IMPLEMENTATION(AnyTransliterator)
AnyTransliterator::AnyTransliterator(const UnicodeString& id,
const UnicodeString& theTarget,
*/
void AnyTransliterator::registerIDs() {
- UErrorCode ec;
- Hashtable seen(TRUE);
+ UErrorCode ec = U_ZERO_ERROR;
+ Hashtable seen(TRUE, ec);
int32_t sourceCount = Transliterator::_countAvailableSources();
for (int32_t s=0; s<sourceCount; ++s) {