summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-12-11 21:09:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-12-12 13:35:00 +0100
commitafa35742a4633db31b6d6c72cf45741506e9edfb (patch)
tree10fb0b0116ddf6fcc2ee34c9baa39b1ec0103a83 /framework/inc
parent569de88e9c7eda964252518282d26a8f7d059718 (diff)
prefer more css::awt::XPopupMenu api
Change-Id: Ib008281d63071ea79935af83cbe434be66155455 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126692 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/classes/rootactiontriggercontainer.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/inc/classes/rootactiontriggercontainer.hxx b/framework/inc/classes/rootactiontriggercontainer.hxx
index cc4f42d941b2..4e0691db989e 100644
--- a/framework/inc/classes/rootactiontriggercontainer.hxx
+++ b/framework/inc/classes/rootactiontriggercontainer.hxx
@@ -20,7 +20,7 @@
#pragma once
#include <helper/propertysetcontainer.hxx>
-#include <vcl/menu.hxx>
+#include <com/sun/star/awt/XPopupMenu.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -40,7 +40,7 @@ class RootActionTriggerContainer final : public PropertySetContainer,
public css::container::XNamed
{
public:
- RootActionTriggerContainer( const Menu* pMenu, const OUString* pMenuIdentifier);
+ RootActionTriggerContainer(const css::uno::Reference<css::awt::XPopupMenu>& rMenu, const OUString* pMenuIdentifier);
virtual ~RootActionTriggerContainer() override;
// XInterface
@@ -92,7 +92,7 @@ class RootActionTriggerContainer final : public PropertySetContainer,
void FillContainer();
bool m_bContainerCreated;
- VclPtr<const Menu> m_pMenu;
+ css::uno::Reference<css::awt::XPopupMenu> m_xMenu;
const OUString* m_pMenuIdentifier;
};