diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-05-10 09:36:54 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-05-10 09:36:54 +0000 |
commit | 67257c2a529af7edaae0588fac4cff41c7e89976 (patch) | |
tree | 053097c2f5d54e7be19618a148abb16f5f115c9c | |
parent | b09611d9ef4e65082ed0621018f92302099ddc21 (diff) |
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: jnavrati@openoffice.org
Reviewed by: frank.schoenheit@sun.com
-rw-r--r-- | dbaccess/source/ui/querydesign/ConnectionLine.cxx | 45 |
1 files changed, 2 insertions, 43 deletions
diff --git a/dbaccess/source/ui/querydesign/ConnectionLine.cxx b/dbaccess/source/ui/querydesign/ConnectionLine.cxx index 81405dc1ae8d..fcf8a308360e 100644 --- a/dbaccess/source/ui/querydesign/ConnectionLine.cxx +++ b/dbaccess/source/ui/querydesign/ConnectionLine.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ConnectionLine.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: obo $ $Date: 2006-09-17 07:19:20 $ + * last change: $Author: kz $ $Date: 2007-05-10 10:36:54 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -156,18 +156,6 @@ OConnectionLine::OConnectionLine( OTableConnection* _pConn, OConnectionLineDataR } //------------------------------------------------------------------------ -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 @@ OConnectionLine::~OConnectionLine() } //------------------------------------------------------------------------ -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 @@ OConnectionLine& OConnectionLine::operator=( const OConnectionLine& rLine ) } //------------------------------------------------------------------------ -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() { ////////////////////////////////////////////////////////////////////// |