framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java |    4 
++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e0c2d334f195ba4d727c94f0ba9795b88bc47fe4
Author:     Shardul Vikram Singh <[email protected]>
AuthorDate: Sun Dec 29 12:50:27 2024 +0530
Commit:     Ilmari Lauhakangas <[email protected]>
CommitDate: Mon Dec 30 15:19:35 2024 +0100

    tdf#146150 Replace SID with dispatch cmd in ContextMenuInterceptor.java
    
    - Replace `slot:5410` with `.uno:HelpMenu`
    - Replace `slot:5400` with `.uno:HelpOnHelp`
    
    Change-Id: Ifcb67906882d4cb416c65bd65c41956e5dda7f76
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179501
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <[email protected]>

diff --git 
a/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java 
b/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java
index b376b715a1eb..57aec870419b 100644
--- a/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java
+++ b/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java
@@ -62,7 +62,7 @@ public class ContextMenuInterceptor implements 
XContextMenuInterceptor
 
                 // initialize root menu entry "Help"
                 xRootMenuEntry.setPropertyValue("Text", "Help");
-                xRootMenuEntry.setPropertyValue("CommandURL", "slot:5410");
+                xRootMenuEntry.setPropertyValue("CommandURL", ".uno:HelpMenu");
                 xRootMenuEntry.setPropertyValue("HelpURL", "5410");
                 xRootMenuEntry.setPropertyValue("SubContainer", 
xSubMenuContainer);
                 xRootMenuEntry.setPropertyValue("Image", myBitmap);
@@ -82,7 +82,7 @@ public class ContextMenuInterceptor implements 
XContextMenuInterceptor
                 // entry "Help on Help"
                 xMenuEntry = 
UnoRuntime.queryInterface(com.sun.star.beans.XPropertySet.class, 
xMenuElementFactory.createInstance("com.sun.star.ui.ActionTrigger"));
                 xMenuEntry.setPropertyValue("Text", "Help on Help");
-                xMenuEntry.setPropertyValue("CommandURL", "slot:5400");
+                xMenuEntry.setPropertyValue("CommandURL", ".uno:HelpOnHelp");
                 xMenuEntry.setPropertyValue("HelpURL", "5400");
 
                 // insert menu entry to sub menu

Reply via email to