summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/dbase/DIndex.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-16 09:21:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-17 06:34:31 +0000
commitd9884a62a23b2a410e5b364308e06c37a67f9422 (patch)
tree6a33a1289733518d880436273a4bbf2baa38ab4a /connectivity/source/drivers/dbase/DIndex.cxx
parent33f43bd7742a0a8803eb19dd4de7de2c7a0c8c78 (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/dbase/DIndex.cxx')
-rw-r--r--connectivity/source/drivers/dbase/DIndex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx
index 5498b982c7dc..416ad8d6653f 100644
--- a/connectivity/source/drivers/dbase/DIndex.cxx
+++ b/connectivity/source/drivers/dbase/DIndex.cxx
@@ -103,7 +103,7 @@ void ODbaseIndex::refreshColumns()
if(m_pColumns)
m_pColumns->reFill(aVector);
else
- m_pColumns = new ODbaseIndexColumns(this,m_aMutex,aVector);
+ m_pColumns.reset( new ODbaseIndexColumns(this,m_aMutex,aVector) );
}
Sequence< sal_Int8 > ODbaseIndex::getUnoTunnelImplementationId()