diff options
-rw-r--r-- | vcl/source/gdi/print3.cxx | 4 |
1 files 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<PrinterController>& 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 ) ); } |