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

LibreOļ¬ƒciant (via logerrit) logerrit at kemper.freedesktop.org
Sat Aug 17 13:01:05 UTC 2019


 source/text/sbasic/python/python_screen.xhp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1e20b35158b23e9737ea3688531c8780ae481ee3
Author:     LibreOļ¬ƒciant <LibreOfficiant at sfr.fr>
AuthorDate: Fri Aug 16 17:02:35 2019 +0200
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Sat Aug 17 15:00:43 2019 +0200

    Python console examples work better this way
    
    Change-Id: I0c325b7fed727f398c11eea41d7c46a061c3a837
    Reviewed-on: https://gerrit.libreoffice.org/77598
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/source/text/sbasic/python/python_screen.xhp b/source/text/sbasic/python/python_screen.xhp
index ed5591711..b88fa923a 100644
--- a/source/text/sbasic/python/python_screen.xhp
+++ b/source/text/sbasic/python/python_screen.xhp
@@ -32,7 +32,7 @@
     <paragraph role="code" id="N0441" localize="false">Print(txt)</paragraph>
     <h2 id="N0442">Examples:</h2>
     <paragraph role="paragraph" localize="false" id="N0443"><literal>>>> import screen_io as ui</literal></paragraph>
-    <paragraph role="paragraph" localize="false" id="N0445"><literal>>>> reply = ui.InputBox('Please enter a phrase', title='Dear user', default="here..")</literal></paragraph>
+    <paragraph role="paragraph" localize="false" id="N0445"><literal>>>> reply = ui.InputBox('Please enter a phrase', title='Dear user', defaultValue="here..")</literal></paragraph>
     <paragraph role="paragraph" localize="false" id="N0446"><literal>>>> rc = ui.MsgBox(reply, title="Confirmation of phrase")</literal></paragraph>
     <paragraph role="paragraph" localize="false" id="N0447"><literal>>>> age = ui.InputBox('How old are you?', title="Hi")</literal></paragraph>
     <paragraph role="paragraph" localize="false" id="N0448"><literal>>>> ui.Print(age)</literal></paragraph>


More information about the Libreoffice-commits mailing list