mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
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:
parent
0a948d6bf7
commit
28c3bf0042
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user