Kaydet (Commit) 4a80dc34 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

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)
üst 21c4a44b
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: querydlg.cxx,v $ * $RCSfile: querydlg.cxx,v $
* *
* $Revision: 1.11 $ * $Revision: 1.12 $
* *
* last change: $Author: rt $ $Date: 2005-09-08 16:33:41 $ * last change: $Author: hr $ $Date: 2006-06-20 03:30:08 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -73,26 +73,26 @@ using namespace dbaui; ...@@ -73,26 +73,26 @@ using namespace dbaui;
using namespace ::com::sun::star::uno; using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::sdbc;
DBG_NAME(DlgQryJoin); DBG_NAME(DlgQryJoin)
DlgQryJoin::DlgQryJoin( Window * pParent, DlgQryJoin::DlgQryJoin( Window * pParent,
OQueryTableConnectionData* _pData, OQueryTableConnectionData* _pData,
OJoinTableView::OTableWindowMap* _pTableMap, OJoinTableView::OTableWindowMap* _pTableMap,
const Reference< XConnection >& _xConnection, const Reference< XConnection >& _xConnection,
BOOL _bAllowTableSelect) BOOL _bAllowTableSelect)
: ModalDialog( pParent, ModuleRes(DLG_QRY_JOIN) ), :ModalDialog( pParent, ModuleRes(DLG_QRY_JOIN) )
aFL_Join( this, ResId( FL_JOIN ) ), ,aFL_Join( this, ResId( FL_JOIN ) )
aML_HelpText( this, ResId(ML_HELPTEXT) ), ,aFT_Title( this, ResId(FT_LISTBOXTITLE) )
aFT_Title( this, ResId(FT_LISTBOXTITLE) ), ,aLB_JoinType( this, ResId(LB_JOINTYPE) )
aLB_JoinType( this, ResId(LB_JOINTYPE) ), ,aML_HelpText( this, ResId(ML_HELPTEXT) )
aPB_OK( this, ResId( PB_OK ) ), ,aPB_OK( this, ResId( PB_OK ) )
aPB_CANCEL( this, ResId( PB_CANCEL ) ), ,aPB_CANCEL( this, ResId( PB_CANCEL ) )
aPB_HELP( this, ResId( PB_HELP ) ), ,aPB_HELP( this, ResId( PB_HELP ) )
eJoinType(_pData->GetJoinType()), ,m_pTableControl( NULL )
m_pConnData(NULL), ,m_pTableMap(_pTableMap)
m_xConnection(_xConnection), ,eJoinType(_pData->GetJoinType())
m_pTableMap(_pTableMap), ,m_pConnData(NULL)
m_pOrigConnData(_pData) ,m_pOrigConnData(_pData)
,m_xConnection(_xConnection)
{ {
DBG_CTOR(DlgQryJoin,NULL); DBG_CTOR(DlgQryJoin,NULL);
...@@ -177,7 +177,7 @@ DlgQryJoin::~DlgQryJoin() ...@@ -177,7 +177,7 @@ DlgQryJoin::~DlgQryJoin()
delete m_pConnData; delete m_pConnData;
} }
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
IMPL_LINK( DlgQryJoin, LBChangeHdl, ListBox*, pListBox ) IMPL_LINK( DlgQryJoin, LBChangeHdl, ListBox*, /*pListBox*/ )
{ {
DBG_CHKTHIS(DlgQryJoin,NULL); DBG_CHKTHIS(DlgQryJoin,NULL);
aML_HelpText.SetText(String()); aML_HelpText.SetText(String());
...@@ -224,7 +224,7 @@ IMPL_LINK( DlgQryJoin, LBChangeHdl, ListBox*, pListBox ) ...@@ -224,7 +224,7 @@ IMPL_LINK( DlgQryJoin, LBChangeHdl, ListBox*, pListBox )
} }
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
IMPL_LINK( DlgQryJoin, OKClickHdl, Button*, pButton ) IMPL_LINK( DlgQryJoin, OKClickHdl, Button*, /*pButton*/ )
{ {
DBG_CHKTHIS(DlgQryJoin,NULL); DBG_CHKTHIS(DlgQryJoin,NULL);
USHORT nPos = aLB_JoinType.GetSelectEntryPos(); USHORT nPos = aLB_JoinType.GetSelectEntryPos();
...@@ -263,9 +263,9 @@ void DlgQryJoin::setValid(sal_Bool _bValid) ...@@ -263,9 +263,9 @@ void DlgQryJoin::setValid(sal_Bool _bValid)
aPB_OK.Enable(_bValid); 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) void DlgQryJoin::setJoinType(EJoinType _eNewJoinType)
...@@ -285,6 +285,8 @@ void DlgQryJoin::setJoinType(EJoinType _eNewJoinType) ...@@ -285,6 +285,8 @@ void DlgQryJoin::setJoinType(EJoinType _eNewJoinType)
case FULL_JOIN: case FULL_JOIN:
nPos = 3; nPos = 3;
break; break;
default:
break;
} }
aLB_JoinType.SelectEntryPos(nPos); aLB_JoinType.SelectEntryPos(nPos);
LBChangeHdl(&aLB_JoinType); LBChangeHdl(&aLB_JoinType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment