diff options
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableConnection.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/TableConnection.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dbaccess/source/ui/querydesign/TableConnection.cxx b/dbaccess/source/ui/querydesign/TableConnection.cxx index 5cd282fba121..2f4d014a96c2 100644 --- a/dbaccess/source/ui/querydesign/TableConnection.cxx +++ b/dbaccess/source/ui/querydesign/TableConnection.cxx @@ -62,10 +62,6 @@ namespace dbaui m_vConnLine.push_back( new OConnectionLine(this, *aIter) ); } - OConnectionLine* OTableConnection::CreateConnLine( const OConnectionLine& rConnLine ) - { - return new OConnectionLine( rConnLine ); - } void OTableConnection::clearLineData() { ::std::vector<OConnectionLine*>::const_iterator aLineEnd = m_vConnLine.end(); @@ -97,7 +93,7 @@ namespace dbaui ::std::vector<OConnectionLine*>::const_iterator aEnd = rLine.end(); m_vConnLine.reserve(rLine.size()); for(;aIter != aEnd;++aIter) - m_vConnLine.push_back( CreateConnLine( **aIter )); + m_vConnLine.push_back( new OConnectionLine( **aIter )); } // as the data are not mine, I also do not delete the old |