return NS_OK;
return NS_ERROR_FAILURE;
DocumentViewerImpl::Cancel(){  nsresult rv;  nsCOMPtr<nsIPrintOptions> printService = do_GetService(kPrintOptionsCID, &rv);  if (NS_SUCCEEDED(rv) && printService) {    return printService->SetIsCancelled(PR_TRUE);  }  return NS_OK;}