vclxprinter.cxx (05b7ab28) vclxprinter.cxx (44b09b52)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 274 unchanged lines hidden (view full) ---

283{
284}
285
286sal_Bool VCLXPrinter::start( const ::rtl::OUString& /*rJobName*/, sal_Int16 /*nCopies*/, sal_Bool /*bCollate*/ ) throw(::com::sun::star::awt::PrinterException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
287{
288 ::osl::Guard< ::osl::Mutex > aGuard( Mutex );
289
290 sal_Bool bDone = sal_True;
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 274 unchanged lines hidden (view full) ---

283{
284}
285
286sal_Bool VCLXPrinter::start( const ::rtl::OUString& /*rJobName*/, sal_Int16 /*nCopies*/, sal_Bool /*bCollate*/ ) throw(::com::sun::star::awt::PrinterException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
287{
288 ::osl::Guard< ::osl::Mutex > aGuard( Mutex );
289
290 sal_Bool bDone = sal_True;
291 if ( mpListener.get() )
291 if ( mpPrinter.get() )
292 {
293 maInitJobSetup = mpPrinter->GetJobSetup();
294 mpListener.reset( new vcl::OldStylePrintAdaptor( mpPrinter ) );
295 }
296
297 return bDone;
298}
299

--- 93 unchanged lines hidden ---
292 {
293 maInitJobSetup = mpPrinter->GetJobSetup();
294 mpListener.reset( new vcl::OldStylePrintAdaptor( mpPrinter ) );
295 }
296
297 return bDone;
298}
299

--- 93 unchanged lines hidden ---