diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-23 15:17:46 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-24 07:18:28 +0100 |
commit | 8d23f9c2c1e0479a95cb44a09066740213b0f99a (patch) | |
tree | 46034a164cbfd4d5a17f8eaec722e89fdfd172ee /basctl/source/basicide/moduldl2.cxx | |
parent | 8dd247044f976d93e13370738418fcd2ac167e9c (diff) |
loplugin:makeshared in basctl..canvas
Change-Id: I1461da594db222abbaeccfb636194b9790f5dbe8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87271
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl/source/basicide/moduldl2.cxx')
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 38e07178d33d..c0ab18750539 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -637,7 +637,7 @@ void LibPage::InsertLib() // library import dialog if (!xLibDlg) { - xLibDlg.reset(new LibDialog(m_pDialog->getDialog())); + xLibDlg = std::make_shared<LibDialog>(m_pDialog->getDialog()); xLibDlg->SetStorageName( aURLObj.getName() ); } |