bug 183156 : the first step : replace UCS2 in function names with UTF16

(r=peterv, sr=alecf)


git-svn-id: svn://10.0.0.236/trunk@143328 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jshin%mailaps.org
2003-06-05 11:44:06 +00:00
parent b9ac38fe62
commit bd9829ca93
4 changed files with 20 additions and 20 deletions

View File

@@ -178,23 +178,23 @@ CopyASCIItoUCS2( const nsACString& aSource, nsAString& aDest )
NS_COM
void
CopyUCS2toUTF8( const nsAString& aSource, nsACString& aDest )
CopyUTF16toUTF8( const nsAString& aSource, nsACString& aDest )
{
aDest.Truncate();
AppendUCS2toUTF8(aSource, aDest);
AppendUTF16toUTF8(aSource, aDest);
}
NS_COM
void
CopyUTF8toUCS2( const nsACString& aSource, nsAString& aDest )
CopyUTF8toUTF16( const nsACString& aSource, nsAString& aDest )
{
aDest.Truncate();
AppendUTF8toUCS2(aSource, aDest);
AppendUTF8toUTF16(aSource, aDest);
}
NS_COM
void
AppendUCS2toUTF8( const nsAString& aSource, nsACString& aDest )
AppendUTF16toUTF8( const nsAString& aSource, nsACString& aDest )
{
// This isn't the fastest possible implementation of this method,
// but it works, and that's better than nothing!
@@ -204,7 +204,7 @@ AppendUCS2toUTF8( const nsAString& aSource, nsACString& aDest )
NS_COM
void
AppendUTF8toUCS2( const nsACString& aSource, nsAString& aDest )
AppendUTF8toUTF16( const nsACString& aSource, nsAString& aDest )
{
// This isn't the fastest possible implementation of this method,
// but it works, and that's better than nothing!