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
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: cmddlg.cxx,v $
|
* $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
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -288,6 +288,8 @@ RTSCommandPage::RTSCommandPage( RTSDialog* pParent ) :
|
|||||||
// configuring as printer is only sensible in default print system
|
// configuring as printer is only sensible in default print system
|
||||||
if( PrinterInfoManager::get().getType() == PrinterInfoManager::Default )
|
if( PrinterInfoManager::get().getType() == PrinterInfoManager::Default )
|
||||||
m_nPrinterEntry = m_aConfigureBox.InsertEntry( String( PaResId( RID_RTS_CMD_STR_CONFIGURE_PRINTER ) ) );
|
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_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 ) ) );
|
m_nPdfEntry = m_aConfigureBox.InsertEntry( String( PaResId( RID_RTS_CMD_STR_CONFIGURE_PDF ) ) );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user