summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 11:15:18 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 11:15:18 +0000
commit7d46b07dc243c824d5fd1c3de4237f93aa598c21 (patch)
tree88c5df34f84743bbf94da706b326a9cce9bb6c31 /padmin
parent9acc29ebd051fac90a3452d847d6e387fd02b430 (diff)
INTEGRATION: CWS warnings01 (1.12.10); FILE MERGED
2005/11/11 15:50:40 pl 1.12.10.2: #i55991# removed warnings 2005/10/24 15:06:45 pl 1.12.10.1: #i55991# removed warnings for linux platform
Diffstat (limited to 'padmin')
-rw-r--r--padmin/source/cmddlg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/padmin/source/cmddlg.cxx b/padmin/source/cmddlg.cxx
index 2f4da3a60c51..5254f9f56afd 100644
--- a/padmin/source/cmddlg.cxx
+++ b/padmin/source/cmddlg.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: cmddlg.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 16:22:37 $
+ * last change: $Author: hr $ $Date: 2006-06-19 12:15:18 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -263,7 +263,7 @@ RTSCommandPage::RTSCommandPage( RTSDialog* pParent ) :
if( PrinterInfoManager::get().getType() == PrinterInfoManager::Default )
m_nPrinterEntry = m_aConfigureBox.InsertEntry( String( PaResId( RID_RTS_CMD_STR_CONFIGURE_PRINTER ) ) );
else
- m_nPrinterEntry = -1;
+ m_nPrinterEntry = ~0;
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 ) ) );
@@ -434,7 +434,7 @@ IMPL_LINK( RTSCommandPage, ClickBtnHdl, Button*, pButton )
if( pButton == & m_aPdfDirectoryButton )
{
String aPath( m_aPdfDirectoryEdit.GetText() );
- if( chooseDirectory( this, aPath ) )
+ if( chooseDirectory( aPath ) )
m_aPdfDirectoryEdit.SetText( aPath );
}
else if( pButton == &m_aRemovePB )