NS_PRECONDITION(nsnull != aResult, "null ptr"); if (nsnull == aResult) { return NS_ERROR_NULL_POINTER; }
NS_ENSURE_ARG_POINTER(aResult);
PrintContext::IsPaginated(PRBool* aResult){  NS_PRECONDITION(nsnull != aResult, "null ptr");  if (nsnull == aResult) {    return NS_ERROR_NULL_POINTER;  }  *aResult = PR_TRUE;  return NS_OK;}