Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin

This commit is contained in:
roc+%cs.cmu.edu 2006-02-07 01:14:53 +00:00
parent df1bdd9b4d
commit 67c419f59c

View File

@ -384,7 +384,7 @@ CheckForPrintToFile(nsIPrintSettings* aPS, LPTSTR aPrinterName, PRUnichar* aUPri
aPS->GetToFileName(getter_Copies(toFileName));
if (toFileName) {
if (*toFileName) {
if (toFileName.Equals(NS_LITERAL_STRING("FILE:"))) {
if (toFileName.EqualsLiteral("FILE:")) {
// this skips the setting of the "print to file" info below
// which we don't want to do.
return NS_OK;