From 124fdba8e90dbae095a6cbb08255bbff47bc43c8 Mon Sep 17 00:00:00 2001 From: Philipp Lohmann Date: Fri, 22 Sep 2000 11:49:24 +0000 Subject: [PATCH] let rmprint.cxx decide bewtween client and print server --- vcl/source/gdi/print.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index 84c54f0cc5b2..909fcc6a8ab7 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -2,9 +2,9 @@ * * $RCSfile: print.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:05:38 $ + * last change: $Author: pl $ $Date: 2000-09-22 12:49:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1674,10 +1674,7 @@ BOOL Printer::StartJob( const XubString& rJobName ) Reference< ::com::sun::star::connection::XConnection > xConnection; Reference< ::com::sun::star::bridge::XBridgeFactory > xBridgeFactory; - if( ! aServerName.EqualsAscii( RVP_CLIENT_SERVER_NAME ) ) - pSVData->mpRemotePrinterList->CreateNewPrinterConnection( maPrinterName.GetToken( 1, '@' ), xServerFactory, xConnection, xBridgeFactory ); - else - xServerFactory = pSVData->mxClientFactory; + pSVData->mpRemotePrinterList->CreateNewPrinterConnection( maPrinterName.GetToken( 1, '@' ), xServerFactory, xConnection, xBridgeFactory ); if( xServerFactory.is() ) { REF( NMSP_CLIENT::XRmSpoolLauncher ) xLauncher( xServerFactory->createInstance( ::rtl::OUString::createFromAscii( "OfficeSpoolLauncher.stardiv.de" ) ), NMSP_UNO::UNO_QUERY );