Use ToNewUTF8String(). [Missed a spot]
git-svn-id: svn://10.0.0.236/trunk@47965 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0614332aa0
commit
65ae46ad4a
@ -3633,7 +3633,7 @@ nsBookmarksService::WriteBookmarkProperties(nsIRDFDataSource *ds, nsOutputFileSt
|
||||
nsAutoString literalString;
|
||||
if (NS_SUCCEEDED(rv = GetTextForNode(node, literalString)))
|
||||
{
|
||||
char *attribute = literalString.ToNewCString();
|
||||
char *attribute = literalString.ToNewUTF8String();
|
||||
if (nsnull != attribute)
|
||||
{
|
||||
if (isFirst == PR_FALSE)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user