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/dialogs/searchresults.cxx | |
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/dialogs/searchresults.cxx')
-rw-r--r-- | sc/source/ui/dialogs/searchresults.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dialogs/searchresults.cxx b/sc/source/ui/dialogs/searchresults.cxx index 8b896b466ab6..76cffa4664a5 100644 --- a/sc/source/ui/dialogs/searchresults.cxx +++ b/sc/source/ui/dialogs/searchresults.cxx @@ -199,7 +199,7 @@ IMPL_STATIC_LINK( SearchResultsDlg, OnShowToggled, weld::ToggleButton&, rButton, SearchResultsDlgWrapper::SearchResultsDlgWrapper( vcl::Window* _pParent, sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* /*pInfo*/) : SfxChildWindow(_pParent, nId) - , m_xDialog(new SearchResultsDlg(pBindings, _pParent->GetFrameWeld())) + , m_xDialog(std::make_shared<SearchResultsDlg>(pBindings, _pParent->GetFrameWeld())) { SetController(m_xDialog); } |