diff options
author | Stanislav Horacek <stanislav.horacek@gmail.com> | 2022-02-14 21:40:11 +0100 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-03-18 18:10:20 +0100 |
commit | 72eb5901a18fba63f13f832ac5e2082fd2d1f305 (patch) | |
tree | 9c4339f4ec5c4e14a8b87badac4dfcf9ca22d9a9 | |
parent | b219699612bd7577c8b8d9e84c2d79a4f16abc33 (diff) |
fix example for SF Menu service
Change-Id: I769bb965ea1c8ea836850bdf6f3ba05068ec737a
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129925
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r-- | source/text/sbasic/shared/03/sf_menu.xhp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/text/sbasic/shared/03/sf_menu.xhp b/source/text/sbasic/shared/03/sf_menu.xhp index 706b53f00e..1798215ef9 100644 --- a/source/text/sbasic/shared/03/sf_menu.xhp +++ b/source/text/sbasic/shared/03/sf_menu.xhp @@ -97,8 +97,8 @@ <paragraph role="pycode" localize="false" id="pyc_id831635275439182">def item_b_listener(args):</paragraph> <paragraph role="pycode" localize="false" id="pyc_id481643137165239"> bas = CreateScriptService("Basic")</paragraph> <paragraph role="pycode" localize="false" id="pyc_id381635275439396"> s_args = args.split(",")</paragraph> - <paragraph role="pycode" id="pyc_id981636717957632"> msg = f"Menu item: {s_args[0]}\n"</paragraph> - <paragraph role="pycode" id="pyc_id851636718008427"> msg += f"Menu name: {s_args[1]}\n"</paragraph> + <paragraph role="pycode" id="pyc_id981636717957632"> msg = f"Menu name: {s_args[0]}\n"</paragraph> + <paragraph role="pycode" id="pyc_id851636718008427"> msg += f"Menu item: {s_args[1]}\n"</paragraph> <paragraph role="pycode" id="pyc_id331636727047102"> msg += f"Item ID: {s_args[2]}\n"</paragraph> <paragraph role="pycode" id="pyc_id71643137333404"> msg += f"Item status: {s_args[3]}"</paragraph> <paragraph role="pycode" localize="false" id="pyc_id111643137333564"> bas.MsgBox(msg)</paragraph> |