diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-24 12:04:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-24 13:58:46 +0100 |
commit | d712ebc20dbe91875324ca424c3a06cdb4f83716 (patch) | |
tree | c70f7038976bd9a033a7d09295155a8f73333b58 /sd/source/ui/view/viewshel.cxx | |
parent | a5e2555632a2105274d130ad115573be36f863b8 (diff) |
loplugin:makeshared in sd
Change-Id: I82ddb851759665f40e23f284cf6eed2b88722c6c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87329
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view/viewshel.cxx')
-rw-r--r-- | sd/source/ui/view/viewshel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx index 9697c3de8461..916e30d306bd 100644 --- a/sd/source/ui/view/viewshel.cxx +++ b/sd/source/ui/view/viewshel.cxx @@ -233,7 +233,7 @@ void ViewShell::construct() pSpellDialog->InvalidateSpellDialog(); // Register the sub shell factory. - mpImpl->mpSubShellFactory.reset(new ViewShellObjectBarFactory(*this)); + mpImpl->mpSubShellFactory = std::make_shared<ViewShellObjectBarFactory>(*this); GetViewShellBase().GetViewShellManager()->AddSubShellFactory(this,mpImpl->mpSubShellFactory); } |