From 67257c2a529af7edaae0588fac4cff41c7e89976 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Thu, 10 May 2007 09:36:54 +0000 Subject: 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 --- dbaccess/source/ui/querydesign/ConnectionLine.cxx | 45 +---------------------- 1 file 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. @@ -155,18 +155,6 @@ OConnectionLine::OConnectionLine( OTableConnection* _pConn, OConnectionLineDataR DBG_CTOR(OConnectionLine,NULL); } -//------------------------------------------------------------------------ -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 ) { @@ -181,18 +169,6 @@ OConnectionLine::~OConnectionLine() DBG_DTOR(OConnectionLine,NULL); } -//------------------------------------------------------------------------ -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 ) { @@ -214,23 +190,6 @@ OConnectionLine& OConnectionLine::operator=( const OConnectionLine& rLine ) return *this; } -//------------------------------------------------------------------------ -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() { -- cgit