diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-02-15 22:52:30 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-02-16 08:45:46 +0100 |
commit | 5b12898378556538c86f92ed368d6be6c461a169 (patch) | |
tree | deb107673acc2a65cb0101d6ce46747808d03af4 /connectivity | |
parent | da2f9c20f61033caa29757942b4f3e709a48ed7c (diff) |
connectitivty: can use o3tl::make_unique<> here
Change-Id: Ia01bf2866e3f688dfab64c5fd72e787e4409fb75
Reviewed-on: https://gerrit.libreoffice.org/49830
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/writer/WCatalog.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/drivers/writer/WCatalog.cxx b/connectivity/source/drivers/writer/WCatalog.cxx index ea78c89bc4e7..9d273e201945 100644 --- a/connectivity/source/drivers/writer/WCatalog.cxx +++ b/connectivity/source/drivers/writer/WCatalog.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/sdbc/XResultSet.hpp> #include <connectivity/sdbcx/VCollection.hxx> +#include <o3tl/make_unique.hxx> #include <writer/WConnection.hxx> @@ -54,7 +55,7 @@ void OWriterCatalog::refreshTables() if (m_pTables) m_pTables->reFill(aVector); else - m_pTables.reset(new OWriterTables(m_xMetaData, *this, m_aMutex, aVector)); + m_pTables = o3tl::make_unique<OWriterTables>(m_xMetaData, *this, m_aMutex, aVector); } } // namespace writer |