mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 04:58:00 +00:00
removed reference to nsString2
This commit is contained in:
parent
c9b2e5d794
commit
dbda61792d
@ -105,14 +105,14 @@ nsTextConverter::Convert(nsIInputStream *aFromStream,
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
// Get the first character
|
||||
nsString2 to(aToType);
|
||||
nsString to(aToType);
|
||||
char *toMIME = to.ToNewCString();
|
||||
char toChar = *toMIME;
|
||||
|
||||
for (PRUint32 i = 0; i < read; i++)
|
||||
buf[i] = toChar;
|
||||
|
||||
nsString2 convDataStr(buf);
|
||||
nsString convDataStr(buf);
|
||||
nsIInputStream *inputData = nsnull;
|
||||
nsISupports *inputDataSup = nsnull;
|
||||
|
||||
|
@ -105,14 +105,14 @@ nsTextConverter::Convert(nsIInputStream *aFromStream,
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
// Get the first character
|
||||
nsString2 to(aToType);
|
||||
nsString to(aToType);
|
||||
char *toMIME = to.ToNewCString();
|
||||
char toChar = *toMIME;
|
||||
|
||||
for (PRUint32 i = 0; i < read; i++)
|
||||
buf[i] = toChar;
|
||||
|
||||
nsString2 convDataStr(buf);
|
||||
nsString convDataStr(buf);
|
||||
nsIInputStream *inputData = nsnull;
|
||||
nsISupports *inputDataSup = nsnull;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user