diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-23 16:37:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-24 07:18:56 +0100 |
commit | a41f9b3ae91101414a7ba2f651f735bc71f69f81 (patch) | |
tree | 7827e21495a370fd68bc4d884a4fd3b89295239c /dbaccess/source/ui/misc/dsmeta.cxx | |
parent | e5cfe9c050fbd601b64dc13fe6760e762a35a4d4 (diff) |
loplugin:makeshared in cui..desktop
Change-Id: I45b7381f665a749b86302be07fa095a30842428f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87277
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/misc/dsmeta.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/dsmeta.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/dsmeta.cxx b/dbaccess/source/ui/misc/dsmeta.cxx index a894c0329080..58831f081185 100644 --- a/dbaccess/source/ui/misc/dsmeta.cxx +++ b/dbaccess/source/ui/misc/dsmeta.cxx @@ -167,7 +167,7 @@ namespace dbaui // DataSourceMetaData DataSourceMetaData::DataSourceMetaData( const OUString& _sURL ) - :m_pImpl( new DataSourceMetaData_Impl( _sURL ) ) + :m_pImpl( std::make_shared<DataSourceMetaData_Impl>( _sURL ) ) { } |