[Libreoffice-commits] help.git: source/text

Ming Hua (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 17 22:03:15 UTC 2021


 source/text/sbasic/shared/03/sf_basic.xhp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e4f55790b32ad295322c712ed49d0349f4eea66d
Author:     Ming Hua <plateauwolf at qq.com>
AuthorDate: Tue Aug 17 22:54:40 2021 +0200
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Wed Aug 18 00:02:54 2021 +0200

    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 at ubuntu.com>

diff --git a/source/text/sbasic/shared/03/sf_basic.xhp b/source/text/sbasic/shared/03/sf_basic.xhp
index aeaa82b06..01acfac5c 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>


More information about the Libreoffice-commits mailing list