summaryrefslogtreecommitdiffstats
path: root/connectivity/source/drivers/file
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-23 16:55:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-29 07:21:16 +0100
commit53d21a31435c6fc781fe34400e18abb34a6b04d8 (patch)
tree3e16fdab650fec1f1d2e7287c08fdc5f85037336 /connectivity/source/drivers/file
parentloplugin:useuniqueptr in SpellCheckerDispatcher (diff)
downloadcore-53d21a31435c6fc781fe34400e18abb34a6b04d8.tar.gz
core-53d21a31435c6fc781fe34400e18abb34a6b04d8.zip
loplugin:useuniqueptr in OCatalog
Change-Id: Ie06456ac8971494f64711cd70fd2b32a4dce719d Reviewed-on: https://gerrit.libreoffice.org/48740 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/drivers/file')
-rw-r--r--connectivity/source/drivers/file/FCatalog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/file/FCatalog.cxx b/connectivity/source/drivers/file/FCatalog.cxx
index fbac414461e6..d617fdbfd774 100644
--- a/connectivity/source/drivers/file/FCatalog.cxx
+++ b/connectivity/source/drivers/file/FCatalog.cxx
@@ -62,7 +62,7 @@ void OFileCatalog::refreshTables()
if(m_pTables)
m_pTables->reFill(aVector);
else
- m_pTables = new OTables(m_xMetaData,*this,m_aMutex,aVector);
+ m_pTables.reset( new OTables(m_xMetaData,*this,m_aMutex,aVector) );
}