if (NS_SUCCEEDED(rv = gRDF->GetLiteral(description.GetUnicode(), getter_AddRefs(descLiteral))))
if (NS_SUCCEEDED(rv = gRDF->GetLiteral(description.get(), getter_AddRefs(descLiteral))))
BookmarkParser::ProcessLine(nsIRDFContainer *container, nsIRDFResource *nodeType,			nsCOMPtr<nsIRDFResource> &bookmarkNode, const nsString &line,			nsString &description, PRBool &inDescription, PRBool &isActiveFlag){	nsresult	rv = NS_OK;	PRInt32		offset;	if (inDescription == PR_TRUE)	{		offset = line.FindChar('<');		if (offset < 0)		{			if (description.Length() > 0)			{				description.AppendWithConversion("\n");			}			description += line;			return(NS_OK);		}		Unescape(description);		if (bookmarkNode)		{			nsCOMPtr<nsIRDFLiteral>	descLiteral;			if (NS_SUCCEEDED(rv = gRDF->GetLiteral(description.GetUnicode(), getter_AddRefs(descLiteral))))			{				rv = mDataSource->Assert(bookmarkNode, kNC_Description, descLiteral, PR_TRUE);			}		}		inDescription = PR_FALSE;		description.Truncate();	}	if ((offset = line.Find(kHREFEquals, PR_TRUE)) >= 0)	{		rv = ParseBookmarkInfo(gBookmarkFieldTable, PR_TRUE, line, container, nodeType, bookmarkNode);	}	else if ((offset = line.Find(kOpenMeta, PR_TRUE)) >= 0)	{		rv = ParseMetaTag(line, getter_AddRefs(mUnicodeDecoder));	}	else if ((offset = line.Find(kOpenHeading, PR_TRUE)) >= 0 &&		 nsCRT::IsAsciiDigit(line.CharAt(offset + 2)))	{		// XXX Ignore <H1> so that bookmarks root _is_ <H1>		if (line.CharAt(offset + 2) != PRUnichar('1'))		{		    nsCOMPtr<nsIRDFResource>    dummy;			rv = ParseBookmarkInfo(gBookmarkHeaderFieldTable, PR_FALSE, line, container, nodeType, dummy);		}	}	else if ((offset = line.Find(kSeparator, PR_TRUE)) >= 0)	{		rv = ParseBookmarkSeparator(line, container);	}	else if ((offset = line.Find(kCloseUL, PR_TRUE)) >= 0 ||		 (offset = line.Find(kCloseMenu, PR_TRUE)) >= 0 ||		 (offset = line.Find(kCloseDL, PR_TRUE)) >= 0)	{		isActiveFlag = PR_FALSE;		return ParseHeaderEnd(line);	}	else if ((offset = line.Find(kOpenUL, PR_TRUE)) >= 0 ||		 (offset = line.Find(kOpenMenu, PR_TRUE)) >= 0 ||		 (offset = line.Find(kOpenDL, PR_TRUE)) >= 0)	{		rv = ParseHeaderBegin(line, container);	}	else if ((offset = line.Find(kOpenDD, PR_TRUE)) >= 0)	{		inDescription = PR_TRUE;		description = line;		description.Cut(0, offset+sizeof(kOpenDD)-1);	}	else	{		// XXX Discard the line?	}	return(rv);}