summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorapurvapriyadarshi <apriyadarshi.1995@gmail.com>2023-09-20 23:37:21 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2023-09-25 13:04:27 +0200
commit31ca96ff3075343c8d0c334fc77a9d0969986d77 (patch)
treeab560fc6802d51f4e4dafd2a89d934ae828f20ad /framework
parentfca39498dfc29a1c026ff854ca797ea39161124b (diff)
tdf#146150 Use dispatch cmd for the corresponding SID
Change-Id: I0d987a8b10f2c69192d080b534a1d6aa71a6cf4d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157105 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> 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 7496b58e080b..b376b715a1eb 100644
--- a/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java
+++ b/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java
@@ -72,7 +72,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor
// entry "Content"
XPropertySet xMenuEntry = UnoRuntime.queryInterface(XPropertySet.class, xMenuElementFactory.createInstance("com.sun.star.ui.ActionTrigger"));
xMenuEntry.setPropertyValue("Text", "Content");
- xMenuEntry.setPropertyValue("CommandURL", "slot:5401");
+ xMenuEntry.setPropertyValue("CommandURL", ".uno:HelpIndex");
xMenuEntry.setPropertyValue("HelpURL", "5401");
// insert menu entry to sub menu
@@ -91,7 +91,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor
// entry "Tips"
xMenuEntry = UnoRuntime.queryInterface(com.sun.star.beans.XPropertySet.class, xMenuElementFactory.createInstance("com.sun.star.ui.ActionTrigger"));
xMenuEntry.setPropertyValue("Text", "Tips");
- xMenuEntry.setPropertyValue("CommandURL", "slot:5404");
+ xMenuEntry.setPropertyValue("CommandURL", ".uno:HelpTip");
xMenuEntry.setPropertyValue("HelpURL", "5404");
// insert menu entry to sub menu