User: kz Date: 2007-05-10 10:36:57+0000 Log: INTEGRATION: CWS dba23a (1.11.72); FILE MERGED 2007/02/26 10:34:02 fs 1.11.72.1: remove unused code Issue number: #i74776# Submitted by: [EMAIL PROTECTED] Reviewed by: [EMAIL PROTECTED]
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.11&r2=1.12 Delta lines: +0 -41 -------------------- --- ConnectionLine.cxx 2006-09-17 07:19:20+0000 1.11 +++ ConnectionLine.cxx 2007-05-10 10:36:54+0000 1.12 @@ -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]
