summaryrefslogtreecommitdiff
path: root/vcl/source/window/menuwindow.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-06-08 14:27:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-09 13:12:30 +0200
commitb7abdafcfc42722ab060529864a2109d1e4198c0 (patch)
tree9709bb6dfd778d7af797d9351ff293a5fba41e40 /vcl/source/window/menuwindow.cxx
parent6d008c9e1dbe4240a10c8789860dc30b0cb0b2d5 (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.cxx1
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>