if (NS_FAILED(propDlg->DisplayPropertiesDlg((PRUnichar*)aPrinter, aPrintSettings)))
if (NS_FAILED(propDlg->DisplayPropertiesDlg((PRUnichar*)aPrinter)))
NS_IMETHODIMP nsPrintOptions::DisplayJobProperties( const PRUnichar *aPrinter, nsIPrintSettings* aPrintSettings, PRBool *aDisplayed){   NS_ENSURE_ARG(aPrinter);   *aDisplayed = PR_FALSE;   nsresult  rv;   nsCOMPtr<nsIPrinterEnumerator> propDlg;   propDlg = do_CreateInstance(kCPrinterEnumerator, &rv);   if (NS_FAILED(rv))     return rv;   if (NS_FAILED(propDlg->DisplayPropertiesDlg((PRUnichar*)aPrinter, aPrintSettings)))     return rv;      *aDisplayed = PR_TRUE;         return NS_OK;}   