if (! basename)
if (! baseFilename)
FileSystemDataSource::GetName(nsIRDFResource *source, nsIRDFLiteral **aResult){	nsXPIDLCString uri;	source->GetValue( getter_Copies(uri) );	nsFileURL		url(uri);	nsNativeFileSpec	native(url);	char			*basename = native.GetLeafName();	if (! basename)		return NS_ERROR_OUT_OF_MEMORY;	nsAutoString	name(basename);	nsIRDFLiteral *literal;	gRDFService->GetLiteral(name.GetUnicode(), &literal);	*aResult = literal;	nsCRT::free(basename);	return NS_OK;}