nsCOMPtr<nsIRDFLiteral>	aLit (do_QueryInterface(r));
nsCOMPtr<nsIRDFLiteral>	aLit = do_QueryInterface(r);
InternetSearchDataSource::isSearchCategoryEngineBasenameURI(nsIRDFNode *r){	PRBool		isSearchCategoryEngineBasenameURIFlag = PR_FALSE;	nsCOMPtr<nsIRDFResource> aRes (do_QueryInterface(r));	if (aRes)	{		const char	*uri = nsnull;		aRes->GetValueConst(&uri);		if ((uri) && (!nsCRT::strncmp(uri, kURINC_SearchCategoryEngineBasenamePrefix,			(int)sizeof(kURINC_SearchCategoryEngineBasenamePrefix) - 1)))		{			isSearchCategoryEngineBasenameURIFlag = PR_TRUE;		}	}	else	{		nsCOMPtr<nsIRDFLiteral>	aLit (do_QueryInterface(r));		if (aLit)		{			const	PRUnichar	*uriUni = nsnull;			aLit->GetValueConst(&uriUni);			if ((uriUni) && (!nsCRT::strncmp(uriUni,							 NS_ConvertASCIItoUCS2(kURINC_SearchCategoryEngineBasenamePrefix).get(),				(int)sizeof(kURINC_SearchCategoryEngineBasenamePrefix) - 1)))			{				isSearchCategoryEngineBasenameURIFlag = PR_TRUE;			}		}	}	return(isSearchCategoryEngineBasenameURIFlag);}