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