diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-19 15:52:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-19 20:43:13 +0100 |
commit | bac75eaed7d09f917497f59b021235b5eeb567ae (patch) | |
tree | e219ca9b1718015f1cc4c49d72429176f78a8d51 /sd | |
parent | 860b2d0123cc44437d4882d7d5f204a32ed21a62 (diff) |
RecentMasterPagesSelector menu has no "edit" entry
its the same menu as MasterPagesSelector and the same "large" vs
"small" enable/disable logic should be in use
Change-Id: I3672c47299d585fbcec6fa2000fc0c84d6481ce1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111232
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/sidebar/RecentMasterPagesSelector.cxx | 7 | ||||
-rw-r--r-- | sd/source/ui/sidebar/RecentMasterPagesSelector.hxx | 2 |
2 files changed, 0 insertions, 9 deletions
diff --git a/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx b/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx index 43949d410ecb..db5d92d0f6f7 100644 --- a/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx +++ b/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx @@ -139,13 +139,6 @@ void RecentMasterPagesSelector::AssignMasterPageToPageList ( } } -void RecentMasterPagesSelector::ProcessPopupMenu (Menu& rMenu) -{ - sal_uInt16 nItemid = rMenu.GetItemId("edit"); - if (rMenu.GetItemPos(nItemid) != MENU_ITEM_NOTFOUND) - rMenu.EnableItem(nItemid, false); -} - } // end of namespace sd::sidebar /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx b/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx index bb4197951268..4040d1d13ff8 100644 --- a/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx +++ b/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx @@ -56,8 +56,6 @@ private: SdPage* pMasterPage, const std::shared_ptr<std::vector<SdPage*> >& rpPageList) override; - virtual void ProcessPopupMenu (Menu& rMenu) override; - RecentMasterPagesSelector ( vcl::Window* pParent, SdDrawDocument& rDocument, |