Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: source/i18n/currpinf.cpp

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/i18n/csrsbcs.cpp ('k') | source/i18n/datefmt.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/i18n/currpinf.cpp
diff --git a/source/i18n/currpinf.cpp b/source/i18n/currpinf.cpp
index db81218c7dd9fd3167d6739ed4915eba13da09ea..9a0bb4b2b9efd64ee40f2742cd5ad49500170b66 100644
--- a/source/i18n/currpinf.cpp
+++ b/source/i18n/currpinf.cpp
@@ -1,6 +1,6 @@
/*
*******************************************************************************
- * Copyright (C) 2009-2011, International Business Machines Corporation and
+ * Copyright (C) 2009-2014, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*/
@@ -338,7 +338,7 @@ CurrencyPluralInfo::deleteHash(Hashtable* hTable)
if ( hTable == NULL ) {
return;
}
- int32_t pos = -1;
+ int32_t pos = UHASH_FIRST;
const UHashElement* element = NULL;
while ( (element = hTable->nextElement(pos)) != NULL ) {
const UHashTok valueTok = element->value;
@@ -376,7 +376,7 @@ CurrencyPluralInfo::copyHash(const Hashtable* source,
if ( U_FAILURE(status) ) {
return;
}
- int32_t pos = -1;
+ int32_t pos = UHASH_FIRST;
const UHashElement* element = NULL;
if ( source ) {
while ( (element = source->nextElement(pos)) != NULL ) {
« no previous file with comments | « source/i18n/csrsbcs.cpp ('k') | source/i18n/datefmt.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698