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.