summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/TableConnection.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-09 11:49:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-09 11:13:34 +0000
commita71d6a2a847828b737e5b6cc5eefe877613085b7 (patch)
tree2fe758330a61cab221715749973911acbc82aa88 /dbaccess/source/ui/querydesign/TableConnection.cxx
parent243977708ceaf877e520ef0bb393aa49040d65c9 (diff)
loplugin:expandablemethods in dbaccess
Change-Id: I6087a3eff46926646ac1637615a0af30b38956a4 Reviewed-on: https://gerrit.libreoffice.org/30712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableConnection.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/TableConnection.cxx6
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