r->GetValue( getter_Copies(uri) ); if (!strncmp(uri, kBookmarkCommand, sizeof(kBookmarkCommand) - 1))
if (NS_SUCCEEDED(r->GetValueConst( &uri )) && (uri))
isBookmarkCommand(nsIRDFResource *r){	PRBool		isBookmarkCommandFlag = PR_FALSE;        nsXPIDLCString	uri;		r->GetValue( getter_Copies(uri) );	if (!strncmp(uri, kBookmarkCommand, sizeof(kBookmarkCommand) - 1))	{		isBookmarkCommandFlag = PR_TRUE;	}	return(isBookmarkCommandFlag);}