diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-16 09:21:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 06:34:31 +0000 |
commit | d9884a62a23b2a410e5b364308e06c37a67f9422 (patch) | |
tree | 6a33a1289733518d880436273a4bbf2baa38ab4a /connectivity/source/drivers/ado/AKey.cxx | |
parent | 33f43bd7742a0a8803eb19dd4de7de2c7a0c8c78 (diff) |
new loplugin: useuniqueptr: connectivity
Change-Id: I016f6a62814f1e93373dc70f59893fa38361464b
Reviewed-on: https://gerrit.libreoffice.org/33149
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/drivers/ado/AKey.cxx')
-rw-r--r-- | connectivity/source/drivers/ado/AKey.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/ado/AKey.cxx b/connectivity/source/drivers/ado/AKey.cxx index 8c3657dc835e..cc1e13c1e5e8 100644 --- a/connectivity/source/drivers/ado/AKey.cxx +++ b/connectivity/source/drivers/ado/AKey.cxx @@ -64,7 +64,7 @@ void OAdoKey::refreshColumns() if(m_pColumns) m_pColumns->reFill(aVector); else - m_pColumns = new OColumns(*this,m_aMutex,aVector,aColumns,isCaseSensitive(),m_pConnection); + m_pColumns.reset( new OColumns(*this,m_aMutex,aVector,aColumns,isCaseSensitive(),m_pConnection) ); } Sequence< sal_Int8 > OAdoKey::getUnoTunnelImplementationId() |