diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-12-11 19:40:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-12-12 13:32:44 +0100 |
commit | 0785b76c0060055413ee18842a82649a35277449 (patch) | |
tree | a1a70e109ac448f2641c28dbf2b56ae69073ea47 /sfx2/source | |
parent | 40a382a8e49d544be7accee6cc846de96c3d36e6 (diff) |
prefer css::awt::XPopupMenu api
Change-Id: I880a5561ad0b1c41fc171f3dff0475d25704172b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126690
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index cf5509af155d..8f112ec2a593 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -2024,7 +2024,7 @@ bool SfxViewShell::TryContextMenuInterception(const css::uno::Reference<css::awt if ( bModified ) { - pVCLMenu->Clear(); + rPopupMenu->clear(); ::framework::ActionTriggerHelper::CreateMenuFromActionTriggerContainer(pVCLMenu, aEvent.ActionTriggerContainer); } |