From fa87093686614d75d63664722de103e47f91c7db Mon Sep 17 00:00:00 2001 From: David Tardon Date: Wed, 28 Mar 2012 13:25:25 +0200 Subject: [PATCH] bypass GtkSalPrinter when it is not enabled --- vcl/unx/gtk/gdi/salprn-gtk.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/unx/gtk/gdi/salprn-gtk.cxx b/vcl/unx/gtk/gdi/salprn-gtk.cxx index ffa584cd2c43..4ea5f7b10a82 100644 --- a/vcl/unx/gtk/gdi/salprn-gtk.cxx +++ b/vcl/unx/gtk/gdi/salprn-gtk.cxx @@ -239,7 +239,7 @@ GtkSalPrinter::StartJob( vcl::PrinterController& io_rController) { if (!lcl_useSystemPrintDialog()) - return impl_doJob(i_pFileName, i_rJobName, i_rAppName, io_pSetupData, 1, false, io_rController); + return PspSalPrinter::StartJob(i_pFileName, i_rJobName, i_rAppName, io_pSetupData, io_rController); assert(!m_pImpl);