summaryrefslogtreecommitdiff
path: root/padmin/source/prtsetup.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-05 15:54:47 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-05 15:54:47 +0000
commit92accf1854938033e9a5d65c06c2dec11fbe054b (patch)
tree90ed8a0dda82d6afd85d0626c84bd677a268568c /padmin/source/prtsetup.cxx
parent4d89c3d6188c34536864bfbfe76527af6df8caba (diff)
INTEGRATION: CWS vcl86_DEV300 (1.12.38); FILE MERGED
2008/02/21 13:29:18 pl 1.12.38.1: #i83676# reflect CUPS->non CUPS->CUPS switching
Diffstat (limited to 'padmin/source/prtsetup.cxx')
-rw-r--r--padmin/source/prtsetup.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/padmin/source/prtsetup.cxx b/padmin/source/prtsetup.cxx
index 69d978dd8688..9a1c5f6e5c49 100644
--- a/padmin/source/prtsetup.cxx
+++ b/padmin/source/prtsetup.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: prtsetup.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: kz $ $Date: 2007-06-20 10:15:42 $
+ * last change: $Author: kz $ $Date: 2008-03-05 16:54:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -130,7 +130,7 @@ RTSDialog::RTSDialog( const PrinterInfo& rJobData, const String& rPrinter, bool
m_aTabControl.RemovePage( RID_RTS_FONTSUBSTPAGE );
m_aTabControl.RemovePage( RID_RTS_COMMANDPAGE );
}
- else if( m_aJobData.m_aDriverName.compareToAscii( "CUPS:", 5 ) == 0 )
+ else if( m_aJobData.m_aDriverName.compareToAscii( "CUPS:", 5 ) == 0 && ! PrinterInfoManager::get().isCUPSDisabled() )
{
// command page makes no sense for CUPS printers
m_aTabControl.RemovePage( RID_RTS_COMMANDPAGE );