Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc

git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jaggernaut%netscape.com
2001-09-29 08:28:41 +00:00
parent 0fef718b9e
commit 51e0dc7a6c
487 changed files with 2001 additions and 1912 deletions

View File

@@ -23,6 +23,7 @@
// Local Includes
#include "nsDocShellLoadInfo.h"
#include "nsReadableUtils.h"
//*****************************************************************************
//*** nsDocShellLoadInfo: Object Management
@@ -133,7 +134,7 @@ NS_IMETHODIMP nsDocShellLoadInfo::GetTarget(char** aTarget)
{
NS_ENSURE_ARG_POINTER(aTarget);
*aTarget = mTarget.ToNewCString();
*aTarget = ToNewCString(mTarget);
return NS_OK;
}