diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-26 15:20:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-30 08:20:02 +0200 |
commit | 9b7c875440d473aa914962d3a602b652722d30e8 (patch) | |
tree | 57085c5b8c66d5d5bb07e5fa3d54334516fa4a65 /sw/source/ui/envelp | |
parent | c6b23dbf3deec12a5da71b2e310b80ccb8ef0ff9 (diff) |
loplugin:useuniqueptr in SwLabDlg
Change-Id: Ie2a54b88e821041ecea6c84ea402486a76ba1f31
Reviewed-on: https://gerrit.libreoffice.org/58233
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/envelp')
-rw-r--r-- | sw/source/ui/envelp/label1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/label1.cxx b/sw/source/ui/envelp/label1.cxx index b4e8de82bac9..d7eadfdce5c1 100644 --- a/sw/source/ui/envelp/label1.cxx +++ b/sw/source/ui/envelp/label1.cxx @@ -163,7 +163,7 @@ SwLabDlg::SwLabDlg(weld::Window* pParent, const SfxItemSet& rSet, SwLabDlg::~SwLabDlg() { - delete m_pRecs; + m_pRecs.reset(); } void SwLabDlg::GetLabItem(SwLabItem &rItem) |