User: hr Date: 06/06/19 20:21:39 Modified: /dba/dbaccess/source/ui/misc/ WCPage.cxx
Log: INTEGRATION: CWS warnings01 (1.24.50); FILE MERGED 2006/03/24 15:36:22 fs 1.24.50.1: #i57457# warning-free code (unxlngi6/.pro + unxsoli4.pro) File Changes: Directory: /dba/dbaccess/source/ui/misc/ ======================================== File [changed]: WCPage.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/WCPage.cxx?r1=1.24&r2=1.25 Delta lines: +6 -17 -------------------- --- WCPage.cxx 8 Sep 2005 16:09:17 -0000 1.24 +++ WCPage.cxx 20 Jun 2006 03:21:35 -0000 1.25 @@ -87,7 +87,7 @@ //======================================================================== // Klasse OCopyTable //======================================================================== -DBG_NAME(OCopyTable); +DBG_NAME(OCopyTable) //------------------------------------------------------------------------ OCopyTable::OCopyTable( Window * pParent, EImportMode atWhat, sal_Bool bIsView, OCopyTableWizard::Wizard_Create_Style nLastAction ) : OWizardPage( pParent, ModuleRes(TAB_WIZ_COPYTABLE) ), @@ -215,7 +215,7 @@ DBG_DTOR(OCopyTable,NULL); } //------------------------------------------------------------------------ -IMPL_LINK( OCopyTable, AppendDataClickHdl, Button*, pButton ) +IMPL_LINK( OCopyTable, AppendDataClickHdl, Button*, /*pButton*/ ) { DBG_CHKTHIS(OCopyTable,NULL); m_pParent->EnableButton(OCopyTableWizard::WIZARD_NEXT,sal_True); @@ -247,7 +247,7 @@ return 0; } //------------------------------------------------------------------------ -IMPL_LINK( OCopyTable, KeyClickHdl, Button*, pButton ) +IMPL_LINK( OCopyTable, KeyClickHdl, Button*, /*pButton*/ ) { DBG_CHKTHIS(OCopyTable,NULL); m_edKeyName.Enable(m_aCB_PrimaryColumn.IsChecked()); @@ -325,21 +325,10 @@ } else { // table exist and is not new or doesn't exist and so on - switch(m_pParent->getCreateStyle()) + if ( OCopyTableWizard::WIZARD_APPEND_DATA == m_pParent->getCreateStyle() ) { - case OCopyTableWizard::WIZARD_APPEND_DATA: - { - if(!checkAppendData()) + if( !checkAppendData() ) return sal_False; - break; - } - case OCopyTableWizard::WIZARD_DEF_DATA: - case OCopyTableWizard::WIZARD_DEF: - { - ////////////////////////////////////////////////////////////////////////// - // Immer neue Tabelle erzeugen - - } } } m_pParent->m_sName = m_edTableName.GetText(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
