diff options
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r-- | dbaccess/source/ui/inc/RTableConnectionData.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/relationdesign/RTableConnectionData.cxx | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/dbaccess/source/ui/inc/RTableConnectionData.hxx b/dbaccess/source/ui/inc/RTableConnectionData.hxx index 61299f336cdf..6995275ee8ff 100644 --- a/dbaccess/source/ui/inc/RTableConnectionData.hxx +++ b/dbaccess/source/ui/inc/RTableConnectionData.hxx @@ -46,8 +46,6 @@ namespace dbaui bool IsSourcePrimKey() const { return checkPrimaryKey(getReferencingTable()->getTable(),JTCS_FROM); } bool IsDestPrimKey() const { return checkPrimaryKey(getReferencedTable()->getTable(),JTCS_TO); } - static OConnectionLineDataRef CreateLineDataObj(); - ORelationTableConnectionData& operator=( const ORelationTableConnectionData& rConnData ); public: ORelationTableConnectionData(); diff --git a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx index 53c47487d128..80c2faef464f 100644 --- a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx +++ b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx @@ -181,11 +181,6 @@ void ORelationTableConnectionData::IsConnectionPossible() ChangeOrientation(); } -OConnectionLineDataRef ORelationTableConnectionData::CreateLineDataObj() -{ - return new OConnectionLineData(); -} - void ORelationTableConnectionData::CopyFrom(const OTableConnectionData& rSource) { // retract to the (non-virtual) operator= like in the base class @@ -385,7 +380,7 @@ bool ORelationTableConnectionData::Update() xColumns->getByName(*pIter) >>= xColumn; if ( xColumn.is() ) { - OConnectionLineDataRef pNewData = CreateLineDataObj(); + OConnectionLineDataRef pNewData = new OConnectionLineData(); xColumn->getPropertyValue(PROPERTY_NAME) >>= sName; xColumn->getPropertyValue(PROPERTY_RELATEDCOLUMN) >>= sRelatedColumn; |