summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-12-12 13:54:32 +0000
committerKurt Zenker <kz@openoffice.org>2007-12-12 13:54:32 +0000
commitd9deb5efed76468aedc99279375aad409cf126b3 (patch)
tree12c1f81b69e4f7d03b6da452494e6555d0779ab4 /svtools
parent64b520639e4ad4155844b891a660c5d126bc3c86 (diff)
INTEGRATION: CWS kprinter (1.28.56); FILE MERGED
2007/11/12 13:28:34 pl 1.28.56.1: #i83505# implement external print dialog on a queue
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/printdlg.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/svtools/source/dialogs/printdlg.cxx b/svtools/source/dialogs/printdlg.cxx
index e121fbf1443c..37a6ce815594 100644
--- a/svtools/source/dialogs/printdlg.cxx
+++ b/svtools/source/dialogs/printdlg.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: printdlg.cxx,v $
*
- * $Revision: 1.29 $
+ * $Revision: 1.30 $
*
- * last change: $Author: ihi $ $Date: 2007-11-26 18:38:37 $
+ * last change: $Author: kz $ $Date: 2007-12-12 14:54:32 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -789,6 +789,11 @@ short PrintDialog::Execute()
return FALSE;
}
+ // check if the printer brings up its own dialog
+ // in that case leave the work to that dialog
+ if( mpPrinter->GetCapabilities( PRINTER_CAPABILITIES_EXTERNALDIALOG ) )
+ return TRUE;
+
Printer::updatePrinters();
// Controls initialisieren