change a nsString back to an nsAutoString the way it should be.

Part of Bug #234936

thanks to darin for pointing that out


git-svn-id: svn://10.0.0.236/trunk@152963 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scott%scott-macgregor.org 2004-02-19 21:10:29 +00:00
parent 14804114ca
commit c464f2e2ee

View File

@ -464,7 +464,7 @@ mozTXTToHTMLConv::CheckURLAndCreateHTML(
NS_IMETHODIMP mozTXTToHTMLConv::FindURLInPlaintext(const PRUnichar * aInString, PRInt32 aInLength, PRInt32 aPos, PRInt32 * aStartPos, PRInt32 * aEndPos)
{
// call FindURL on the passed in string
nsString outputHTML; // we'll ignore the generated output HTML
nsAutoString outputHTML; // we'll ignore the generated output HTML
*aStartPos = -1;
*aEndPos = -1;