User: hr Date: 06/06/19 20:30:11 Modified: /dba/dbaccess/source/ui/querydesign/ querydlg.cxx
Log: INTEGRATION: CWS warnings01 (1.11.50); FILE MERGED 2006/03/24 15:36:28 fs 1.11.50.1: #i57457# warning-free code (unxlngi6/.pro + unxsoli4.pro) File Changes: Directory: /dba/dbaccess/source/ui/querydesign/ =============================================== File [changed]: querydlg.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/querydlg.cxx?r1=1.11&r2=1.12 Delta lines: +21 -19 --------------------- --- querydlg.cxx 8 Sep 2005 16:33:41 -0000 1.11 +++ querydlg.cxx 20 Jun 2006 03:30:08 -0000 1.12 @@ -73,26 +73,26 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::sdbc; -DBG_NAME(DlgQryJoin); +DBG_NAME(DlgQryJoin) DlgQryJoin::DlgQryJoin( Window * pParent, OQueryTableConnectionData* _pData, OJoinTableView::OTableWindowMap* _pTableMap, const Reference< XConnection >& _xConnection, BOOL _bAllowTableSelect) - : ModalDialog( pParent, ModuleRes(DLG_QRY_JOIN) ), - aFL_Join( this, ResId( FL_JOIN ) ), - aML_HelpText( this, ResId(ML_HELPTEXT) ), - aFT_Title( this, ResId(FT_LISTBOXTITLE) ), - aLB_JoinType( this, ResId(LB_JOINTYPE) ), - aPB_OK( this, ResId( PB_OK ) ), - aPB_CANCEL( this, ResId( PB_CANCEL ) ), - aPB_HELP( this, ResId( PB_HELP ) ), - eJoinType(_pData->GetJoinType()), - m_pConnData(NULL), - m_xConnection(_xConnection), - m_pTableMap(_pTableMap), - m_pOrigConnData(_pData) - + :ModalDialog( pParent, ModuleRes(DLG_QRY_JOIN) ) + ,aFL_Join( this, ResId( FL_JOIN ) ) + ,aFT_Title( this, ResId(FT_LISTBOXTITLE) ) + ,aLB_JoinType( this, ResId(LB_JOINTYPE) ) + ,aML_HelpText( this, ResId(ML_HELPTEXT) ) + ,aPB_OK( this, ResId( PB_OK ) ) + ,aPB_CANCEL( this, ResId( PB_CANCEL ) ) + ,aPB_HELP( this, ResId( PB_HELP ) ) + ,m_pTableControl( NULL ) + ,m_pTableMap(_pTableMap) + ,eJoinType(_pData->GetJoinType()) + ,m_pConnData(NULL) + ,m_pOrigConnData(_pData) + ,m_xConnection(_xConnection) { DBG_CTOR(DlgQryJoin,NULL); @@ -177,7 +177,7 @@ delete m_pConnData; } // ----------------------------------------------------------------------------- -IMPL_LINK( DlgQryJoin, LBChangeHdl, ListBox*, pListBox ) +IMPL_LINK( DlgQryJoin, LBChangeHdl, ListBox*, /*pListBox*/ ) { DBG_CHKTHIS(DlgQryJoin,NULL); aML_HelpText.SetText(String()); @@ -224,7 +224,7 @@ } // ----------------------------------------------------------------------------- -IMPL_LINK( DlgQryJoin, OKClickHdl, Button*, pButton ) +IMPL_LINK( DlgQryJoin, OKClickHdl, Button*, /*pButton*/ ) { DBG_CHKTHIS(DlgQryJoin,NULL); USHORT nPos = aLB_JoinType.GetSelectEntryPos(); @@ -263,9 +263,9 @@ aPB_OK.Enable(_bValid); } // ----------------------------------------------------------------------------- -void DlgQryJoin::notifyConnectionChange(OTableConnectionData* _pConnectionData) +void DlgQryJoin::notifyConnectionChange( ) { - setJoinType(m_pConnData->GetJoinType()); + setJoinType( m_pConnData->GetJoinType() ); } // ----------------------------------------------------------------------------- void DlgQryJoin::setJoinType(EJoinType _eNewJoinType) @@ -285,6 +285,8 @@ case FULL_JOIN: nPos = 3; break; + default: + break; } aLB_JoinType.SelectEntryPos(nPos); LBChangeHdl(&aLB_JoinType); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
