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
This commit is contained in:
@@ -947,7 +947,7 @@ RDFContentSinkImpl::GetNameSpaceURI(nsIAtom* aPrefix, const char** aNameSpaceURI
|
||||
if (aPrefix)
|
||||
aPrefix->ToString(prefixStr);
|
||||
|
||||
char* prefixCStr = prefixStr.ToNewCString();
|
||||
char* prefixCStr = ToNewCString(prefixStr);
|
||||
|
||||
PR_LOG(gLog, PR_LOG_ALWAYS,
|
||||
("rdfxml: undeclared namespace prefix '%s'",
|
||||
|
||||
Reference in New Issue
Block a user