summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorShardul Vikram Singh <shardulvikrm@gmail.com>2024-12-29 12:50:27 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-12-30 15:19:35 +0100
commite0c2d334f195ba4d727c94f0ba9795b88bc47fe4 (patch)
tree88272bb8894751b584a798bc6494e385c08fe70b /framework
parentd890ef557325241f36cf83a4622d96b98785f07d (diff)
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 <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'framework')
-rw-r--r--framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java4
1 files changed, 2 insertions, 2 deletions
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