summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-01-27 14:49:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-01-27 18:26:32 +0100
commita951590bfb8d161096d87dbc953552f653318e92 (patch)
treec35cc0e0c8f21a85b873112edab3892d21a98996 /include/sfx2
parent40456ff3d26c7edc2eb49c14077b2cbfa492af3c (diff)
let SfxDispatcher::fillPopupMenu operate on css::awt::XPopupMenu
rather than need to be passed its internal PopupMenu Change-Id: Iff1106b80b71602cf8b77361086517f0e8f11c6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129052 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/dispatch.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx
index 6e87c89217f4..7b5e3611546e 100644
--- a/include/sfx2/dispatch.hxx
+++ b/include/sfx2/dispatch.hxx
@@ -32,7 +32,6 @@
#include <boost/property_tree/ptree_fwd.hpp>
#include <initializer_list>
-class Menu;
class SfxSlotServer;
class SfxRequest;
class SfxViewFrame;
@@ -41,6 +40,7 @@ class SfxModule;
class Point;
struct SfxDispatcher_Impl;
+namespace com::sun::star::awt { class XPopupMenu; }
namespace vcl { class Window; }
enum class SfxDispatcherPopFlags
@@ -171,7 +171,7 @@ public:
SAL_DLLPRIVATE void DoDeactivate_Impl( bool bMDI, SfxViewFrame const * pNew );
SAL_DLLPRIVATE void InvalidateBindings_Impl(bool);
- static boost::property_tree::ptree fillPopupMenu(Menu* pMenu);
+ static boost::property_tree::ptree fillPopupMenu(css::uno::Reference<css::awt::XPopupMenu>& rMenu);
};
#endif