Bug 619330 Unknown error alert displayed when trying to print from computer that has no installed printer r=mats a=blocking

--HG--
extra : rebase_source : 25ce9cb89eb088aa915d5bccbedd4f191267fb31
This commit is contained in:
timeless@mozdev.org 2011-01-14 18:34:01 +02:00
parent 0a948d6bf7
commit 28c3bf0042

View File

@ -872,11 +872,6 @@ ShowNativePrintDialog(HWND aHWnd,
}
}
NS_ASSERTION(!printerName.IsEmpty(), "We have to have a printer name");
if (printerName.IsEmpty()) {
return NS_ERROR_FAILURE;
}
// Now create a DEVNAMES struct so the the dialog is initialized correctly.
PRUint32 len = printerName.Length();