nsCOMPtr<nsIRDFLiteral>	filterURL (do_QueryInterface(arc));
nsCOMPtr<nsIRDFLiteral>	filterURL = do_QueryInterface(arc);
InternetSearchDataSource::clearFilters(void){	if (!mInner)	return(NS_ERROR_UNEXPECTED);	nsresult			rv;	nsCOMPtr<nsISimpleEnumerator>	arcs;	PRBool				hasMore = PR_TRUE;	nsCOMPtr<nsISupports>		arc;	// remove all filtered URLs	if (NS_SUCCEEDED(rv = mLocalstore->GetTargets(kNC_FilterSearchURLsRoot, kNC_Child,		PR_TRUE, getter_AddRefs(arcs))))	{		hasMore = PR_TRUE;		while (hasMore == PR_TRUE)		{			if (NS_FAILED(arcs->HasMoreElements(&hasMore)) || (hasMore == PR_FALSE))				break;			if (NS_FAILED(arcs->GetNext(getter_AddRefs(arc))))				break;			nsCOMPtr<nsIRDFLiteral>	filterURL (do_QueryInterface(arc));			if (!filterURL)	continue;						mLocalstore->Unassert(kNC_FilterSearchURLsRoot, kNC_Child, filterURL);		}	}	// remove all filtered sites	if (NS_SUCCEEDED(rv = mLocalstore->GetTargets(kNC_FilterSearchSitesRoot, kNC_Child,		PR_TRUE, getter_AddRefs(arcs))))	{		hasMore = PR_TRUE;		while (hasMore == PR_TRUE)		{			if (NS_FAILED(arcs->HasMoreElements(&hasMore)) || (hasMore == PR_FALSE))				break;			if (NS_FAILED(arcs->GetNext(getter_AddRefs(arc))))				break;			nsCOMPtr<nsIRDFLiteral>	filterSiteLiteral (do_QueryInterface(arc));			if (!filterSiteLiteral)	continue;						mLocalstore->Unassert(kNC_FilterSearchSitesRoot, kNC_Child, filterSiteLiteral);		}	}	// flush localstore	nsCOMPtr<nsIRDFRemoteDataSource> remoteLocalStore (do_QueryInterface(mLocalstore));	if (remoteLocalStore)	{		remoteLocalStore->Flush();	}	return(NS_OK);}