diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-16 12:22:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-23 08:14:26 +0200 |
commit | 3148fdfe21a626307fc60fef1451b1c501686504 (patch) | |
tree | 9d9ea0fb71f727a62262e151bba97e6b071d6e20 /vcl | |
parent | 7af3b9d7970d60ba09e0556ee232a8fa624383d4 (diff) |
loplugin:useuniqueptr in PopupMenuFloatingWindow
Change-Id: If903f677db198978dcf455f06198437a26b6a311
Reviewed-on: https://gerrit.libreoffice.org/53227
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/popupmenuwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/popupmenuwindow.cxx b/vcl/source/window/popupmenuwindow.cxx index d8cd337a1c91..f85298e63642 100644 --- a/vcl/source/window/popupmenuwindow.cxx +++ b/vcl/source/window/popupmenuwindow.cxx @@ -46,7 +46,7 @@ PopupMenuFloatingWindow::~PopupMenuFloatingWindow() void PopupMenuFloatingWindow::dispose() { - delete mpImplData; + mpImplData.reset(); FloatingWindow::dispose(); } |