summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/olmenu.hxx
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 /sw/source/uibase/inc/olmenu.hxx
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 'sw/source/uibase/inc/olmenu.hxx')
-rw-r--r--sw/source/uibase/inc/olmenu.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/inc/olmenu.hxx b/sw/source/uibase/inc/olmenu.hxx
index 479f4be98ab9..b5d8e59d7e5f 100644
--- a/sw/source/uibase/inc/olmenu.hxx
+++ b/sw/source/uibase/inc/olmenu.hxx
@@ -129,6 +129,8 @@ public:
return *m_xPopupMenu;
}
+ css::uno::Reference<css::awt::XPopupMenu> CreateMenuInterface() { return m_xPopupMenu->CreateMenuInterface(); }
+
void Execute( const tools::Rectangle& rPopupPos, vcl::Window* pWin );
void Execute( sal_uInt16 nId );
};