diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-12-11 21:09:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-12-12 13:35:00 +0100 |
commit | afa35742a4633db31b6d6c72cf45741506e9edfb (patch) | |
tree | 10fb0b0116ddf6fcc2ee34c9baa39b1ec0103a83 /include/sfx2 | |
parent | 569de88e9c7eda964252518282d26a8f7d059718 (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 'include/sfx2')
-rw-r--r-- | include/sfx2/viewsh.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index 2971c210ea59..54d962450e8f 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -53,7 +53,6 @@ class SfxModule; class SfxViewFrame; class Printer; class SfxPrinter; -class Menu; class NotifyEvent; class SfxInPlaceClient; class SfxLokCallbackInterface; @@ -299,7 +298,8 @@ public: void SetController( SfxBaseController* pController ); css::uno::Reference<css::frame::XController> GetController() const; - bool TryContextMenuInterception(const Menu& rIn, const OUString& rMenuIdentifier, + bool TryContextMenuInterception(const css::uno::Reference<css::awt::XPopupMenu>& rIn, + const OUString& rMenuIdentifier, css::uno::Reference<css::awt::XPopupMenu>& rOut, css::ui::ContextMenuExecuteEvent aEvent); bool TryContextMenuInterception(const css::uno::Reference<css::awt::XPopupMenu>&, |