+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/**
*******************************************************************************
- * Copyright (C) 2001-2005, International Business Machines Corporation and *
+ * Copyright (C) 2001-2014, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*
const Hashtable* supported = getSupportedIDs(status);
if (supported) {
UBool visible = (_coverage & 0x1) == 0;
-
const UHashElement* elem = NULL;
- int32_t pos = 0;
+ int32_t pos = UHASH_FIRST;
while ((elem = supported->nextElement(pos)) != NULL) {
const UnicodeString& id = *((const UnicodeString*)elem->key.pointer);
if (!visible) {
LocaleKeyFactory::debug(UnicodeString& result) const
{
debugClass(result);
- result.append(", name: ");
+ result.append((UnicodeString)", name: ");
result.append(_name);
- result.append(", coverage: ");
+ result.append((UnicodeString)", coverage: ");
result.append(_coverage);
return result;
}
UnicodeString&
LocaleKeyFactory::debugClass(UnicodeString& result) const
{
- return result.append("LocaleKeyFactory");
+ return result.append((UnicodeString)"LocaleKeyFactory");
}
#endif