removed reference to nsString2

This commit is contained in:
rickg%netscape.com 2000-03-26 23:22:29 +00:00
parent c9b2e5d794
commit dbda61792d
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;