From a129a75412807428799e18669dbe9486571a8afa Mon Sep 17 00:00:00 2001 From: Ulrich Kitzinger Date: Tue, 12 Nov 2013 14:18:37 +0100 Subject: Dialog 'Es ist kein Standarddrucker ausgewaehlt' unterdruecken --- vcl/source/gdi/print3.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index 7aeeddd95068..cb534c8b73b8 100644 --- a/vcl/source/gdi/print3.cxx +++ b/vcl/source/gdi/print3.cxx @@ -311,13 +311,13 @@ void Printer::ImplPrintJob( const boost::shared_ptr& i_pContr // check if there is a default printer; if not, show an error box (if appropriate) if( GetDefaultPrinterName().isEmpty() ) { - if( pController->isShowDialogs() + /*if( pController->isShowDialogs() // && ! pController->isDirectPrint() ) { ErrorBox aBox( NULL, VclResId( SV_PRINT_NOPRINTERWARNING ) ); aBox.Execute(); - } + }*/ pController->setValue( OUString( "IsDirect" ), makeAny( sal_False ) ); } -- cgit v1.2.3