diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-04-16 13:16:29 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-04-16 13:16:29 +0000 |
commit | 5d93e5fc5bd8915c24a241a5d58901c1c1792d13 (patch) | |
tree | da191e3e15329ab28f66fc1b80bab6d9b7f58eed /psprint | |
parent | e4854cf60a17ac5ddf07cf6ca63c3ae3aee6ae21 (diff) |
INTEGRATION: CWS vcl77 (1.21.30); FILE MERGED
2007/03/26 18:16:23 pl 1.21.30.1: join from CWS vcl75
Diffstat (limited to 'psprint')
-rw-r--r-- | psprint/source/printer/cupsmgr.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/psprint/source/printer/cupsmgr.cxx b/psprint/source/printer/cupsmgr.cxx index aee19f36522b..db04671af0ac 100644 --- a/psprint/source/printer/cupsmgr.cxx +++ b/psprint/source/printer/cupsmgr.cxx @@ -4,9 +4,9 @@ * * $RCSfile: cupsmgr.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: vg $ $Date: 2007-04-03 15:24:16 $ + * last change: $Author: ihi $ $Date: 2007-04-16 14:16:29 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -676,6 +676,9 @@ const PPDParser* CUPSManager::createCUPSParser( const OUString& rPrinter ) // remember the default context for later use PPDContext& rContext = m_aDefaultContexts[ aPrinter ]; rContext.setParser( pNewParser ); + // set system default paper; printer CUPS PPD options + // may overwrite it + setDefaultPaper( rContext ); for( int i = 0; i < pPPD->num_groups; i++ ) updatePrinterContextInfo( pPPD->groups + i, rContext ); |