bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones

r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188845 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2006-02-03 14:32:22 +00:00
parent 6322c04952
commit 4b0b228457
3 changed files with 4 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ JNIEXPORT jint JNICALL util_StoreClassMapping(const char* jniClassName,
}
}
NS_ConvertASCIItoUCS2 keyString(jniClassName);
NS_ConvertASCIItoUTF16 keyString(jniClassName);
nsStringKey key(keyString);
gClassMappingTable->Put(&key, yourClassType);
@@ -56,7 +56,7 @@ JNIEXPORT jclass JNICALL util_GetClassMapping(const char* jniClassName)
return nsnull;
}
NS_ConvertASCIItoUCS2 keyString(jniClassName);
NS_ConvertASCIItoUTF16 keyString(jniClassName);
nsStringKey key(keyString);
result = (jclass) gClassMappingTable->Get(&key);