source/text/sbasic/python/python_examples.xhp |    3 +--
 source/text/sbasic/python/python_session.xhp  |    6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)

New commits:
commit dfc93df5d71958d100a3fb332e40863c3d4863c5
Author:     LibreOfficiant <openoffici...@sfr.fr>
AuthorDate: Mon Feb 11 09:57:13 2019 +0100
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Mon Feb 11 14:32:51 2019 +0100

    Corrections + link activation
    
    Change-Id: I99d8a012ff51bf43a96d15450cfaeb02d56ffea9
    Reviewed-on: https://gerrit.libreoffice.org/67669
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/source/text/sbasic/python/python_examples.xhp 
b/source/text/sbasic/python/python_examples.xhp
index 085f9ddad..067f239df 100644
--- a/source/text/sbasic/python/python_examples.xhp
+++ b/source/text/sbasic/python/python_examples.xhp
@@ -30,11 +30,10 @@
     <embed href="text/sbasic/python/python_from_basic.xhp#pythonfrombasic"/>
     <embed href="text/sbasic/python/python_dialog.xhp#pythondialog"/>
     <embed href="text/sbasic/python/python_listener.xhp#pythonlistener"/>
-    <embed href="text/sbasic/python/python_session.xhp#pythonsession"/>
     -->
+    <embed href="text/sbasic/python/python_session.xhp#pythonsession"/>
     <embed href="text/sbasic/python/python_platform.xhp#pythonplatform"/>
     <!--<embed href="text/sbasic/python/python_import.xhp#pythonimport"/>-->
-
     <embed href="text/sbasic/python/python_screen.xhp#ioscreen"/>
     <embed href="text/sbasic/python/python_shell.xhp#pythonshell1"/>
 </body>
diff --git a/source/text/sbasic/python/python_session.xhp 
b/source/text/sbasic/python/python_session.xhp
index 5ee5c55f4..d99bcdb38 100644
--- a/source/text/sbasic/python/python_session.xhp
+++ b/source/text/sbasic/python/python_session.xhp
@@ -23,8 +23,8 @@
         <bookmark_value>Session;UserScripts</bookmark_value>
         <bookmark_value>Session;UserPythonScripts</bookmark_value>
     </bookmark>
-    <h1 id="N0340">Getting session information</h1>
-    <paragraph role="paragraph" id="N0341">To compute %PRODUCTNAME user 
profile and shared modules system file paths can be performed with Python and 
with Basic language. BeanShell, Java, JavaScript and Python scripts locations 
can be derived from this information.</paragraph>
+    <h1 id="N0340"><variable id="pythonsession"><link 
href="text/sbasic/python/python_session.xhp" name="session01">Getting session 
information</link></variable></h1>
+    <paragraph role="paragraph" id="N0341">Computing %PRODUCTNAME user profile 
and shared modules system file paths can be performed with Python or with Basic 
languages. BeanShell, Java, JavaScript and Python scripts locations can be 
derived from this information.</paragraph>
     <h2 id="N0343">Examples:</h2>
     <paragraph role="paragraph" id="N0344">With Python shell.</paragraph>
     <paragraph role="paragraph" localize="false" 
id="N0345"><literal>&gt;&gt;&gt; from &lt;the_module&gt; import 
Session</literal></paragraph>
@@ -48,7 +48,7 @@
     <h3 id="N0361">With %PRODUCTNAME Basic.</h3>
     <bascode>
         <paragraph role="bascode" xml-lang="en-US" id="N0362">Sub 
Session_example()</paragraph>
-        <paragraph role="bascode" localize="false" id="N0363">    Dim s As New 
Session &apos; instance of Platform class</paragraph>
+        <paragraph role="bascode" localize="false" id="N0363">    Dim s As New 
Session &apos; instance of Session class</paragraph>
         <paragraph role="bascode" xml-lang="en-US" id="N0364">    Print 
&quot;Shared scripts location:&quot;, s.SharedScripts</paragraph>
         <paragraph role="bascode" xml-lang="en-US" id="N0365">    MsgBox 
s.UserName,,&quot;Hello&quot;</paragraph>
         <paragraph role="bascode" xml-lang="en-US" id="N0366">    Print 
s.UserScripts, Chr(13), s.UserPythonScripts</paragraph>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to