return mRangeList->RemoveSelectionListener(aListenerToRemove);
if (!mSelectionListeners) return NS_ERROR_FAILURE; if (!inListenerToRemove ) return NS_ERROR_NULL_POINTER; nsCOMPtr<nsISupports> isupports = do_QueryInterface(inListenerToRemove); return mSelectionListeners->RemoveElement(isupports);
nsDOMSelection::RemoveSelectionListener(nsIDOMSelectionListener* aListenerToRemove){  return mRangeList->RemoveSelectionListener(aListenerToRemove);}