[Libreoffice-commits] core.git: sd/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Feb 19 19:44:03 UTC 2021
sd/source/ui/sidebar/RecentMasterPagesSelector.cxx | 7 -------
sd/source/ui/sidebar/RecentMasterPagesSelector.hxx | 2 --
2 files changed, 9 deletions(-)
New commits:
commit bac75eaed7d09f917497f59b021235b5eeb567ae
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Feb 19 15:52:51 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Feb 19 20:43:13 2021 +0100
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 at redhat.com>
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,
More information about the Libreoffice-commits
mailing list