summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-12-15 09:55:30 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-12-15 13:41:42 +0100
commit25214daa344412a7b67c8a89b832e5f3e6dc90fa (patch)
tree7fa75d882f6fa2e7678e33a0989cbff332fdff84 /include
parent67f7171b79ce4a60dbec16394f48e7d0c28217ac (diff)
don't need to include vcl/menu.hxx here
Change-Id: I16c4c2fd84ea8af6b7601e49c38630bbbfdb2cb6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107746 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/dispatch.hxx2
-rw-r--r--include/sfx2/sidebar/TabBar.hxx3
-rw-r--r--include/sfx2/templatelocalview.hxx1
-rw-r--r--include/svx/gridctrl.hxx2
-rw-r--r--include/vcl/notebookbar/NotebookBarAddonsMerger.hxx1
5 files changed, 4 insertions, 5 deletions
diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx
index ee46d5c89909..6e87c89217f4 100644
--- a/include/sfx2/dispatch.hxx
+++ b/include/sfx2/dispatch.hxx
@@ -30,9 +30,9 @@
#include <o3tl/span.hxx>
#include <boost/property_tree/ptree_fwd.hpp>
-#include <vcl/menu.hxx>
#include <initializer_list>
+class Menu;
class SfxSlotServer;
class SfxRequest;
class SfxViewFrame;
diff --git a/include/sfx2/sidebar/TabBar.hxx b/include/sfx2/sidebar/TabBar.hxx
index c3b429613b80..77b6fd91f5d0 100644
--- a/include/sfx2/sidebar/TabBar.hxx
+++ b/include/sfx2/sidebar/TabBar.hxx
@@ -23,10 +23,11 @@
#include <sfx2/sidebar/ResourceManager.hxx>
#include <vcl/InterimItemWindow.hxx>
-#include <vcl/menu.hxx>
#include <functional>
+namespace com::sun::star::frame { class XFrame; }
+
namespace svt { class AcceleratorExecute; }
namespace weld { class Toolbar; }
diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx
index a045d390fa61..9304e858ad9b 100644
--- a/include/sfx2/templatelocalview.hxx
+++ b/include/sfx2/templatelocalview.hxx
@@ -12,7 +12,6 @@
#include <sfx2/thumbnailview.hxx>
#include <sfx2/templateproperties.hxx>
-#include <vcl/menu.hxx>
#include <functional>
#include <memory>
#include <set>
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index d5d15d0054e4..e09b0a146284 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -26,7 +26,6 @@
#include <svtools/recorditemwindow.hxx>
#include <osl/mutex.hxx>
#include <svx/svxdllapi.h>
-#include <vcl/menu.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <memory>
#include <vector>
@@ -40,6 +39,7 @@ namespace com::sun::star::uno { class XComponentContext; }
namespace com::sun::star::util { class XNumberFormatter; }
class CursorWrapper;
+class PopupMenu;
bool CompareBookmark(const css::uno::Any& aLeft, const css::uno::Any& aRight);
diff --git a/include/vcl/notebookbar/NotebookBarAddonsMerger.hxx b/include/vcl/notebookbar/NotebookBarAddonsMerger.hxx
index 7d4c68d41f03..87c843620c68 100644
--- a/include/vcl/notebookbar/NotebookBarAddonsMerger.hxx
+++ b/include/vcl/notebookbar/NotebookBarAddonsMerger.hxx
@@ -23,7 +23,6 @@
#include <vcl/builder.hxx>
#include <vcl/window.hxx>
#include <vcl/image.hxx>
-#include <vcl/menu.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/uno/Sequence.h>