nsresult DocumentViewerImpl::GetDocumentSelection(nsIPresShell * aPresShell, nsISelection **aSelection)
nsresult DocumentViewerImpl::GetDocumentSelection(nsISelection **aSelection, nsIPresShell * aPresShell)
nsresult DocumentViewerImpl::GetDocumentSelection(nsIPresShell * aPresShell, nsISelection **aSelection){  if (!aSelection) return NS_ERROR_NULL_POINTER;  if (!aPresShell) return NS_ERROR_NULL_POINTER;  nsCOMPtr<nsISelectionController> selcon;  selcon = do_QueryInterface(aPresShell);  if (selcon)     return selcon->GetSelection(nsISelectionController::SELECTION_NORMAL, aSelection);    return NS_ERROR_FAILURE;}