diff options
author | Ulrich Kitzinger <Ulrich.Kitzinger@muenchen.de> | 2013-11-12 14:18:37 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-10-06 10:52:44 +0200 |
commit | a129a75412807428799e18669dbe9486571a8afa (patch) | |
tree | 4f8b4e4bc58e0224acd466e8e53a813e14ffbfb8 | |
parent | 646735a3efcc3368001afcb446e1457e16405d58 (diff) |
Dialog 'Es ist kein Standarddrucker ausgewaehlt' unterdruecken
-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 ) ); } |