From dfc93df5d71958d100a3fb332e40863c3d4863c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LibreO=EF=AC=83ciant?= Date: Mon, 11 Feb 2019 09:57:13 +0100 Subject: [PATCH] Corrections + link activation Change-Id: I99d8a012ff51bf43a96d15450cfaeb02d56ffea9 Reviewed-on: https://gerrit.libreoffice.org/67669 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- source/text/sbasic/python/python_examples.xhp | 3 +-- source/text/sbasic/python/python_session.xhp | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/source/text/sbasic/python/python_examples.xhp b/source/text/sbasic/python/python_examples.xhp index 085f9ddadb..067f239dfc 100644 --- a/source/text/sbasic/python/python_examples.xhp +++ b/source/text/sbasic/python/python_examples.xhp @@ -30,11 +30,10 @@ - --> + - diff --git a/source/text/sbasic/python/python_session.xhp b/source/text/sbasic/python/python_session.xhp index 5ee5c55f4e..d99bcdb38a 100644 --- a/source/text/sbasic/python/python_session.xhp +++ b/source/text/sbasic/python/python_session.xhp @@ -23,8 +23,8 @@ Session;UserScripts Session;UserPythonScripts -

Getting session information

- 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. +

Getting session information

+ 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.

Examples:

With Python shell. >>> from <the_module> import Session @@ -48,7 +48,7 @@

With %PRODUCTNAME Basic.

Sub Session_example() - Dim s As New Session ' instance of Platform class + Dim s As New Session ' instance of Session class Print "Shared scripts location:", s.SharedScripts MsgBox s.UserName,,"Hello" Print s.UserScripts, Chr(13), s.UserPythonScripts