diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-08 14:27:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-09 13:12:30 +0200 |
commit | b7abdafcfc42722ab060529864a2109d1e4198c0 (patch) | |
tree | 9709bb6dfd778d7af797d9351ff293a5fba41e40 /vcl/source/window/menuwindow.cxx | |
parent | 6d008c9e1dbe4240a10c8789860dc30b0cb0b2d5 (diff) |
return and hold SalMenuItem by std::unique_ptr
and drop DestroyMenuItem, all the implementations were just deleting the
pointer
Change-Id: I058817b963988b1e399279f61f45716a2cdba023
Reviewed-on: https://gerrit.libreoffice.org/55500
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/menuwindow.cxx')
-rw-r--r-- | vcl/source/window/menuwindow.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/menuwindow.cxx b/vcl/source/window/menuwindow.cxx index 4577f38abdc1..2244a84ddeb0 100644 --- a/vcl/source/window/menuwindow.cxx +++ b/vcl/source/window/menuwindow.cxx @@ -20,6 +20,7 @@ #include "menuwindow.hxx" #include "menuitemlist.hxx" +#include <salmenu.hxx> #include <vcl/help.hxx> #include <vcl/menu.hxx> #include <vcl/settings.hxx> |