summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibreOfficiant <LibreOfficiant@sfr.fr>2019-08-16 17:02:35 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2019-08-17 15:00:43 +0200
commit1e20b35158b23e9737ea3688531c8780ae481ee3 (patch)
tree8d9b06c337e94ca5274fecc7bfb182cb5810de3f
parentf8fc25c072077221556b06ac8f60c4b679dd35f2 (diff)
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@libreoffice.org>
-rw-r--r--source/text/sbasic/python/python_screen.xhp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/sbasic/python/python_screen.xhp b/source/text/sbasic/python/python_screen.xhp
index ed5591711c..b88fa923af 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>&gt;&gt;&gt; import screen_io as ui</literal></paragraph>
- <paragraph role="paragraph" localize="false" id="N0445"><literal>&gt;&gt;&gt; reply = ui.InputBox(&apos;Please enter a phrase&apos;, title=&apos;Dear user&apos;, default=&quot;here..&quot;)</literal></paragraph>
+ <paragraph role="paragraph" localize="false" id="N0445"><literal>&gt;&gt;&gt; reply = ui.InputBox(&apos;Please enter a phrase&apos;, title=&apos;Dear user&apos;, defaultValue=&quot;here..&quot;)</literal></paragraph>
<paragraph role="paragraph" localize="false" id="N0446"><literal>&gt;&gt;&gt; rc = ui.MsgBox(reply, title=&quot;Confirmation of phrase&quot;)</literal></paragraph>
<paragraph role="paragraph" localize="false" id="N0447"><literal>&gt;&gt;&gt; age = ui.InputBox(&apos;How old are you?&apos;, title=&quot;Hi&quot;)</literal></paragraph>
<paragraph role="paragraph" localize="false" id="N0448"><literal>&gt;&gt;&gt; ui.Print(age)</literal></paragraph>