diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-16 12:49:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-23 08:15:26 +0200 |
commit | 7c256096962d73b360b870688ead7152b3378df9 (patch) | |
tree | 5d5f1e66564e5021878feb9fef3ad1c8864056c9 /include/vcl/menu.hxx | |
parent | 8e0e2b7dd8d478c443351d0ea7ce271f7e839825 (diff) |
loplugin:useuniqueptr in Menu
Change-Id: I4de2081597ffc55a95fe5b482c37461811f323e6
Reviewed-on: https://gerrit.libreoffice.org/53232
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/menu.hxx')
-rw-r--r-- | include/vcl/menu.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index b55a5338a91d..6c73d802802f 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -156,7 +156,7 @@ private: bool bKilled : 1; ///< Killed css::uno::Reference<css::accessibility::XAccessible > mxAccessible; - mutable vcl::MenuLayoutData* mpLayoutData; + mutable std::unique_ptr<vcl::MenuLayoutData> mpLayoutData; SalMenu* mpSalMenu; protected: |