From 9df68d6ab95eb888738b257c7dc4985e5384ec1d Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Wed, 8 Sep 2004 14:58:41 +0000 Subject: 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 --- padmin/source/cmddlg.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'padmin/source/cmddlg.cxx') 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 ) ) ); -- cgit