use nsString instead of of nsAutoString, since that is what the function takes

This commit is contained in:
sspitzer%netscape.com 1999-03-31 19:08:53 +00:00
Родитель e4fe9bfa0d
Коммит 8ffc8ea5bd
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1828,7 +1828,7 @@ NS_METHOD nsDocumentBindInfo::OnStatus(nsIURL* aURL, const PRUnichar* aMsg)
} }
/* Pass the notification out to any observers... */ /* Pass the notification out to any observers... */
nsAutoString msgStr(aMsg); nsString msgStr(aMsg);
m_DocLoader->FireOnStatusURLLoad(aURL, msgStr); m_DocLoader->FireOnStatusURLLoad(aURL, msgStr);
/* Pass the notification out to the Observer... */ /* Pass the notification out to the Observer... */

Просмотреть файл

@ -1828,7 +1828,7 @@ NS_METHOD nsDocumentBindInfo::OnStatus(nsIURL* aURL, const PRUnichar* aMsg)
} }
/* Pass the notification out to any observers... */ /* Pass the notification out to any observers... */
nsAutoString msgStr(aMsg); nsString msgStr(aMsg);
m_DocLoader->FireOnStatusURLLoad(aURL, msgStr); m_DocLoader->FireOnStatusURLLoad(aURL, msgStr);
/* Pass the notification out to the Observer... */ /* Pass the notification out to the Observer... */