diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-24 10:54:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-24 11:04:11 +0100 |
commit | 1d10db1003f092f48ed09a0d45994f7481b96d84 (patch) | |
tree | 5f73a2450b5bda6cbd1becfba3f013e45b6d67b3 /sc/source/ui/dataprovider | |
parent | 9aeff6adce7287f7e85bc47ac9c418b93351e3d4 (diff) |
loplugin:makeshared in sc
Change-Id: Ie287b5c11a1276c56f416f17ea69cddd5992b4a2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87326
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/dataprovider')
-rw-r--r-- | sc/source/ui/dataprovider/dataprovider.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dataprovider/dataprovider.cxx b/sc/source/ui/dataprovider/dataprovider.cxx index 737cbdc0af4d..3d0f56265be5 100644 --- a/sc/source/ui/dataprovider/dataprovider.cxx +++ b/sc/source/ui/dataprovider/dataprovider.cxx @@ -128,7 +128,7 @@ void ExternalDataSource::setDBData(const OUString& rDBName) { if (!mpDBDataManager) { - mpDBDataManager.reset(new ScDBDataManager(rDBName, mpDoc)); + mpDBDataManager = std::make_shared<ScDBDataManager>(rDBName, mpDoc); } else { |