mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
parent
470a6e4401
commit
13fcc4a046
949 changed files with 95662 additions and 444 deletions
|
|
@ -1004,6 +1004,10 @@ nsPrintEngine::GetCurrentPrintSettings(nsIPrintSettings * *aCurrentPrintSettings
|
|||
nsresult
|
||||
nsPrintEngine::CheckForPrinters(nsIPrintSettings* aPrintSettings)
|
||||
{
|
||||
#if defined(XP_MACOSX)
|
||||
// Mac doesn't support retrieving a printer list.
|
||||
return NS_OK;
|
||||
#else
|
||||
NS_ENSURE_ARG_POINTER(aPrintSettings);
|
||||
|
||||
// See if aPrintSettings already has a printer
|
||||
|
|
@ -1023,6 +1027,7 @@ nsPrintEngine::CheckForPrinters(nsIPrintSettings* aPrintSettings)
|
|||
rv = aPrintSettings->SetPrinterName(printerName.get());
|
||||
}
|
||||
return rv;
|
||||
#endif
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue