sd/source/ui/view/drviews7.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b9bff3b52812598f0f9ca33be8b224ad7d52c090
Author:     Mohit Marathe <[email protected]>
AuthorDate: Tue Jan 13 19:21:41 2026 +0530
Commit:     Michael Stahl <[email protected]>
CommitDate: Wed Jan 14 13:54:20 2026 +0100

    sd: disable .uno:CopySlide when the selected page is canvas page
    
    Signed-off-by: Mohit Marathe <[email protected]>
    Change-Id: Id4f22e768cf43ae91b57b91d922061f7ce21d933
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197196
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Michael Stahl <[email protected]>

diff --git a/sd/source/ui/view/drviews7.cxx b/sd/source/ui/view/drviews7.cxx
index be89ec0e5c5e..bf4f23f67329 100644
--- a/sd/source/ui/view/drviews7.cxx
+++ b/sd/source/ui/view/drviews7.cxx
@@ -860,6 +860,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
             rSet.DisableItem(SID_PRESENTATION_LAYOUT);
             rSet.DisableItem(SID_HIDE_SLIDE);
             rSet.DisableItem(SID_SHOW_SLIDE);
+            rSet.DisableItem(SID_COPY_SLIDE);
         }
     }
     else

Reply via email to