svpprn.cxx (9f62ea84) svpprn.cxx (74cbd1f1)
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

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

860 if( m_nCopies > 1 )
861 {
862 // in case user did not do anything (m_nCopies=1)
863 // take the default from jobsetup
864 m_aJobData.m_nCopies = m_nCopies;
865 m_aJobData.setCollate( bCollate );
866 }
867
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

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

860 if( m_nCopies > 1 )
861 {
862 // in case user did not do anything (m_nCopies=1)
863 // take the default from jobsetup
864 m_aJobData.m_nCopies = m_nCopies;
865 m_aJobData.setCollate( bCollate );
866 }
867
868 // check wether this printer is configured as fax
868 // check whether this printer is configured as fax
869 int nMode = 0;
870 const PrinterInfo& rInfo( PrinterInfoManager::get().getPrinterInfo( m_aJobData.m_aPrinterName ) );
871 sal_Int32 nIndex = 0;
872 while( nIndex != -1 )
873 {
874 OUString aToken( rInfo.m_aFeatures.getToken( 0, ',', nIndex ) );
875 if( ! aToken.compareToAscii( "fax", 3 ) )
876 {

--- 196 unchanged lines hidden ---
869 int nMode = 0;
870 const PrinterInfo& rInfo( PrinterInfoManager::get().getPrinterInfo( m_aJobData.m_aPrinterName ) );
871 sal_Int32 nIndex = 0;
872 while( nIndex != -1 )
873 {
874 OUString aToken( rInfo.m_aFeatures.getToken( 0, ',', nIndex ) );
875 if( ! aToken.compareToAscii( "fax", 3 ) )
876 {

--- 196 unchanged lines hidden ---