Tag: cws_src680_oj14 User: oj Date: 2007-06-04 18:50:59+0000 Log: RESYNC: (1.11-1.12); FILE MERGED
File Changes: Directory: /dba/dbaccess/source/ui/querydesign/ =============================================== File [changed]: ConnectionLine.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/ConnectionLine.cxx?r1=1.8.8.3&r2=1.8.8.4 Delta lines: +0 -41 -------------------- --- ConnectionLine.cxx 2006-11-07 09:39:55+0000 1.8.8.3 +++ ConnectionLine.cxx 2007-06-04 18:50:56+0000 1.8.8.4 @@ -156,18 +156,6 @@ } //------------------------------------------------------------------------ -OConnectionLine::OConnectionLine( OTableConnection* _pConn, const String& _rSourceFieldName, - const String& _rDestFieldName ) - :m_pTabConn( _pConn ) - ,m_pData(NULL) - ,m_pSourceEntry( NULL ) - ,m_pDestEntry( NULL ) -{ - DBG_CTOR(OConnectionLine,NULL); - m_pData = new OConnectionLineData( _rSourceFieldName,_rDestFieldName); -} - -//------------------------------------------------------------------------ OConnectionLine::OConnectionLine( const OConnectionLine& _rLine ) { DBG_CTOR(OConnectionLine,NULL); @@ -182,18 +170,6 @@ } //------------------------------------------------------------------------ -void OConnectionLine::SetSourceFieldName( const String& rSourceFieldName ) -{ - m_pData->SetSourceFieldName( rSourceFieldName ); -} - -//------------------------------------------------------------------------ -void OConnectionLine::SetDestFieldName( const String& rDestFieldName ) -{ - m_pData->SetDestFieldName( rDestFieldName ); -} - -//------------------------------------------------------------------------ OConnectionLine& OConnectionLine::operator=( const OConnectionLine& rLine ) { if( &rLine != this ) @@ -215,23 +191,6 @@ } //------------------------------------------------------------------------ -BOOL OConnectionLine::Connect( const String& rSourceFieldName, const String& rDestFieldName ) -{ - ////////////////////////////////////////////////////////////////////// - // Parameter duerfen nicht leer sein - if( !rSourceFieldName.Len() || !rDestFieldName.Len() ) - return FALSE; - - ////////////////////////////////////////////////////////////////////// - // Feldnamen setzen - m_pData->SetSourceFieldName( rSourceFieldName ); - m_pData->SetDestFieldName( rDestFieldName ); - - return TRUE; -} - - -//------------------------------------------------------------------------ Rectangle OConnectionLine::GetBoundingRect() { ////////////////////////////////////////////////////////////////////// --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
