summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/relationdesign/RTableConnectionData.cxx')
-rw-r--r--dbaccess/source/ui/relationdesign/RTableConnectionData.cxx7
1 files changed, 1 insertions, 6 deletions
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;