diff options
author | Ming Hua <plateauwolf@qq.com> | 2021-08-17 22:54:40 +0200 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2021-08-18 00:02:54 +0200 |
commit | e4f55790b32ad295322c712ed49d0349f4eea66d (patch) | |
tree | 251ab04a1f675cb17fcd997ce74a260a1aac7cb2 /source | |
parent | 8c962ef5c3feb4f0ed970ab4c90efcace00f6e06 (diff) |
ScriptForge Basic: fix example
MB_* are properties of the service, so the service variable needs to be
properly specified.
Change-Id: I033f3e54ca69707c25030723fb5dc426a3ad6691
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/120586
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'source')
-rw-r--r-- | source/text/sbasic/shared/03/sf_basic.xhp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/sbasic/shared/03/sf_basic.xhp b/source/text/sbasic/shared/03/sf_basic.xhp index aeaa82b067..01acfac5ca 100644 --- a/source/text/sbasic/shared/03/sf_basic.xhp +++ b/source/text/sbasic/shared/03/sf_basic.xhp @@ -533,7 +533,7 @@ <section id="ui"> <pycode> <paragraph role="pycode" id="pyc_id751619081201175" xml-lang="en-US">txt = s.InputBox('Please enter a phrase:', "Dear user")</paragraph> - <paragraph role="pycode" id="pyc_id261619081319555" xml-lang="en-US">s.MsgBox(txt, MB_ICONINFORMATION, "Confirmation of phrase")</paragraph> + <paragraph role="pycode" id="pyc_id261619081319555" xml-lang="en-US">s.MsgBox(txt, s.MB_ICONINFORMATION, "Confirmation of phrase")</paragraph> </pycode> <note id="par_id651618921455396">For in-depth information please refer to <link href="https://wiki.documentfoundation.org/Macros/General/IO_to_Screen" name="Input/Output to Screen with Python">Input/Output to Screen with Python</link> on the Wiki.</note> </section> |