if (!aFocusOffset || !mAnchorFocusRange)
if (!aFocusOffset)
NS_IMETHODIMP nsDOMSelection::GetFocusOffset(PRInt32* aFocusOffset){	if (!aFocusOffset || !mAnchorFocusRange)		return NS_ERROR_NULL_POINTER;  nsresult result;  if (GetDirection() == eDirNext){    result = mAnchorFocusRange->GetEndOffset(aFocusOffset);  }  else{    result = mAnchorFocusRange->GetStartOffset(aFocusOffset);  }	return result;}