summaryrefslogtreecommitdiff
path: root/include/vcl/menu.hxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-05-05 15:29:21 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2017-05-07 14:37:42 +0200
commit5aa54f17441afee8c2001d73f4b590eeeafd7414 (patch)
treec9cc7b8833abafa5f63e6c003bc2ab892b6959eb /include/vcl/menu.hxx
parentfbd414741157b969924318462ebfcfb5ccf4d3dc (diff)
break circular include
of include/vcl/window.hxx and include/vcl/vclevent.hxx Change-Id: Iacb3cc942693a732de5899af26e08e0977a83102 Reviewed-on: https://gerrit.libreoffice.org/37338 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'include/vcl/menu.hxx')
-rw-r--r--include/vcl/menu.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index e3a0e8b8c529..ddf12f629c99 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -47,7 +47,6 @@ class PopupMenu;
class KeyEvent;
class CommandEvent;
class MenuFloatingWindow;
-namespace vcl { class Window; }
class SalMenu;
class MenuBarWindow;
struct SystemMenuData;
@@ -57,7 +56,12 @@ namespace com { namespace sun { namespace star { namespace accessibility {
class XAccessible;
}}}}
-namespace vcl { struct MenuLayoutData; }
+namespace vcl
+{
+class Window;
+struct MenuLayoutData;
+typedef OutputDevice RenderContext; // same as in include/vcl/outdev.hxx
+}
#define MENU_APPEND (sal_uInt16(0xFFFF))
#define MENU_ITEM_NOTFOUND (sal_uInt16(0xFFFF))