summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-09-08 14:58:41 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-09-08 14:58:41 +0000
commit9df68d6ab95eb888738b257c7dc4985e5384ec1d (patch)
tree01887d68e8796f5eb31fc52c136f133376aed528 /padmin
parent08f0e46b13494d248ed984c0fdb641f1b0350178 (diff)
INTEGRATION: CWS vcl26 (1.10.38); FILE MERGED
2004/08/25 16:24:20 pl 1.10.38.1: #i33397# initalize m_nPrinterEntry in all cases
Diffstat (limited to 'padmin')
-rw-r--r--padmin/source/cmddlg.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/padmin/source/cmddlg.cxx b/padmin/source/cmddlg.cxx
index af971b697f82..28a025b595ce 100644
--- a/padmin/source/cmddlg.cxx
+++ b/padmin/source/cmddlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cmddlg.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: obo $ $Date: 2004-03-17 10:44:08 $
+ * last change: $Author: hr $ $Date: 2004-09-08 15:58:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -288,6 +288,8 @@ RTSCommandPage::RTSCommandPage( RTSDialog* pParent ) :
// configuring as printer is only sensible in default print system
if( PrinterInfoManager::get().getType() == PrinterInfoManager::Default )
m_nPrinterEntry = m_aConfigureBox.InsertEntry( String( PaResId( RID_RTS_CMD_STR_CONFIGURE_PRINTER ) ) );
+ else
+ m_nPrinterEntry = -1;
m_nFaxEntry = m_aConfigureBox.InsertEntry( String( PaResId( RID_RTS_CMD_STR_CONFIGURE_FAX ) ) );
m_nPdfEntry = m_aConfigureBox.InsertEntry( String( PaResId( RID_RTS_CMD_STR_CONFIGURE_PDF ) ) );