View | Details | Raw Unified | Return to issue 56352
Collapse All | Expand All

(-)old/viewsh.cxx (+5 lines)
Lines 611-616 Link Here
611
				if ( bEnabled )
611
				if ( bEnabled )
612
				{
612
				{
613
					SfxPrinter *pPrinter = GetPrinter(FALSE);
613
					SfxPrinter *pPrinter = GetPrinter(FALSE);
614
					rtl::OUString aPrinterName = rtl::OUString::createFromAscii("Print");
615
					aPrinterName += rtl::OUString::createFromAscii("(");
616
					aPrinterName += Printer::GetDefaultPrinterName();
617
					aPrinterName += rtl::OUString::createFromAscii(")");
618
					rSet.Put( SfxStringItem( SID_PRINTDOCDIRECT, aPrinterName ) );
614
					bEnabled = !pPrinter || !pPrinter->IsPrinting();
619
					bEnabled = !pPrinter || !pPrinter->IsPrinting();
615
				}
620
				}
616
				if ( !bEnabled )
621
				if ( !bEnabled )

Return to issue 56352