| commit | 06c4dfc743a2314138835d4c4f39b98b96645d86 | [log] |
|---|---|---|
| author | Sarper Akdemir <sarper.akdemir@allotropia.de> | Wed May 08 17:36:01 2024 +0200 |
| committer | Sarper Akdemir <sarper@libreoffice.org> | Fri May 10 10:03:42 2024 +0200 |
| tree | 0e728dca8fdac1608b6e2b3ba03795b3d591b6c9 | |
| parent | 423d240dc680817efae645d8305402f922bb452d [diff] |
tdf#33603: do not block SID_SAVEDOC slots on NotesPanelViewShell Change-Id: Icc7320b0960f0d73027359b7525a37b44bdd7ee7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167365 Tested-by: Jenkins Reviewed-by: Sarper Akdemir <sarper@libreoffice.org>
diff --git a/sd/sdi/NotesPanelView.sdi b/sd/sdi/NotesPanelView.sdi index 90217ef..b54addb 100644 --- a/sd/sdi/NotesPanelView.sdi +++ b/sd/sdi/NotesPanelView.sdi
@@ -195,17 +195,6 @@ interface NotesPanelView ExecMethod = FuPermanent ; StateMethod = GetMenuState ; ] SID_SAVEDOC // ole : no, status : ? [ ExecMethod = Execute ; StateMethod = GetMenuState ; GroupId = SfxGroupId::Document ; ] SID_SAVEASDOC // ole : no, status : ? [ ExecMethod = Execute ; GroupId = SfxGroupId::Document ; ] SID_RULER // ole : no, status : ? [ ExecMethod = FuSupport ;
diff --git a/sd/source/ui/view/NotesPanelViewShell.cxx b/sd/source/ui/view/NotesPanelViewShell.cxx index 82f3133..6bccc76 100644 --- a/sd/source/ui/view/NotesPanelViewShell.cxx +++ b/sd/source/ui/view/NotesPanelViewShell.cxx
@@ -1336,11 +1336,6 @@ void NotesPanelViewShell::Execute(SfxRequest& rReq) switch (rReq.GetSlot()) { case SID_SAVEDOC: case SID_SAVEASDOC: PrepareClose(); break; case SID_SEARCH_ITEM: // Forward this request to the common (old) code of the // document shell.