sd/sdi/NotesPanelView.sdi                 |   11 -----------
 sd/source/ui/view/NotesPanelViewShell.cxx |    5 -----
 2 files changed, 16 deletions(-)

New commits:
commit 06c4dfc743a2314138835d4c4f39b98b96645d86
Author:     Sarper Akdemir <sarper.akde...@allotropia.de>
AuthorDate: Wed May 8 17:36:01 2024 +0200
Commit:     Sarper Akdemir <sar...@libreoffice.org>
CommitDate: Fri May 10 10:03:42 2024 +0200

    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 <sar...@libreoffice.org>

diff --git a/sd/sdi/NotesPanelView.sdi b/sd/sdi/NotesPanelView.sdi
index 90217efaa4e8..b54addb52b8c 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 82f3133dad75..6bccc766b7cb 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.

Reply via email to