source/text/sbasic/guide/calc_borders.xhp    |    4 ++--
 source/text/sbasic/shared/03/sf_array.xhp    |   10 +++++-----
 source/text/sbasic/shared/03/sf_base.xhp     |    2 +-
 source/text/sbasic/shared/03/sf_database.xhp |   12 ++++++------
 4 files changed, 14 insertions(+), 14 deletions(-)

New commits:
commit c8c6952d809ccc08b89b8d5ac5e603e5ec00ec20
Author:     Rafael Lima <rafael.palma.l...@gmail.com>
AuthorDate: Wed Sep 15 00:33:28 2021 +0200
Commit:     Olivier Hallot <olivier.hal...@libreoffice.org>
CommitDate: Thu Sep 16 12:06:37 2021 +0200

    Minor fixes in help files (sbasic)
    
    Change-Id: Ifb4a91bfeb1ca8f7e67e9affa30b1e29028b4731
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/122071
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org>

diff --git a/source/text/sbasic/guide/calc_borders.xhp 
b/source/text/sbasic/guide/calc_borders.xhp
index 7ab690fbe..23fa7b885 100644
--- a/source/text/sbasic/guide/calc_borders.xhp
+++ b/source/text/sbasic/guide/calc_borders.xhp
@@ -45,7 +45,7 @@
   <paragraph role="paragraph" id="par_id141630537941393">The 
<literal>Sub</literal> described above takes in four arguments:</paragraph>
   <list type="unordered">
     <listitem>
-        <paragraph id="par_id841630538209958" 
role="listitem"><emph>cellAddress</emph> is a string such as denoting the range 
to be formatted in the format "A1".</paragraph>
+        <paragraph id="par_id841630538209958" 
role="listitem"><emph>cellAddress</emph> is a string denoting the range to be 
formatted in the format "A1".</paragraph>
     </listitem>
     <listitem>
         <paragraph id="par_id821630538210271" 
role="listitem"><emph>newStyle</emph> is an integer value that corresponds to 
the border line style (see <link 
href="text/sbasic/guide/calc_borders.xhp#LineStyles_h2" 
name="LineStyles_link">Line Styles</link> below).</paragraph>
@@ -196,7 +196,7 @@
   <tip id="par_id751630539680866">Refer to the <link 
href="https://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1table_1_1BorderLineStyle.html";
 name="BorderLineStyle_link">BorderLineStyle Constant Reference</link> in the 
LibreOffice API documentation to learn more about line style constants.</tip>
 
   <h2 id="hd_id31630542361666">Formatting Borders Using TableBorder2</h2>
-  <paragraph role="paragraph" id="par_id11630542436346">Range objects have a 
property named <literal>TableBorder2</literal> that can be used to format range 
borders as it is done in the <menuitem>Format - Cells - Borders</menuitem>  
dialog in the <emph>Line Arrangement</emph> section.</paragraph>
+  <paragraph role="paragraph" id="par_id11630542436346">Range objects have a 
property named <literal>TableBorder2</literal> that can be used to format range 
borders as it is done in the <menuitem>Format - Cells - Borders</menuitem> 
dialog in the <emph>Line Arrangement</emph> section.</paragraph>
   <paragraph role="paragraph" id="par_id641630542724480">In addition to top, 
bottom, left and right borders, <literal>TableBorder2</literal> also defines 
vertical and horizontal borders. The macro below applies only the top and 
bottom borders to the range "B2:E5".</paragraph>
   <bascode>
     <paragraph role="bascode" localize="false" id="bas_id761630543331847">Sub 
TableBorder2Example</paragraph>
diff --git a/source/text/sbasic/shared/03/sf_array.xhp 
b/source/text/sbasic/shared/03/sf_array.xhp
index 48f53418b..c17dcc3fd 100644
--- a/source/text/sbasic/shared/03/sf_array.xhp
+++ b/source/text/sbasic/shared/03/sf_array.xhp
@@ -232,7 +232,7 @@
   <bookmark localize="false" branch="index" id="bm_id251582558126024">
     <bookmark_value>Array service;Copy</bookmark_value>
   </bookmark>
-  <h2 id="hd_id991627154151529">Copy</h2>
+  <h2 id="hd_id991627154151529" localize="false">Copy</h2>
   <paragraph role="paragraph" id="par_id571627154604275">Creates a copy of a 
1D or 2D array.</paragraph>
   <embed href="text/sbasic/shared/03/avail_release.xhp#7.2.method"/>
   <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
@@ -661,14 +661,14 @@
     <bookmark_value>Array service;PrependRow</bookmark_value>
   </bookmark>
   <h2 id="hd_id921582643611272" localize="false">PrependRow</h2>
-  <paragraph role="paragraph" id="par_id851582643611291">Prepend at the 
beginning of a two dimension array a new row. The resulting array has the same 
lower boundaries as the initial two dimension array.</paragraph>
+  <paragraph role="paragraph" id="par_id851582643611291">Prepend a new row at 
the beginning of a 2-dimensional array. The resulting array has the same lower 
boundaries as the initial 2-dimensional array.</paragraph>
   <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
   <paragraph role="paragraph" localize="false" id="par_id791626997749524">
     <input>svc.PrependRow(array_2d: any[0..*, 0..*], row: any[0..*]): 
any[0..*, 0..*]</input>
   </paragraph>
   <embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
-  <paragraph role="paragraph" 
id="par_id991582643611645"><emph>array_2d</emph>: The pre-existing array, may 
be empty. If that array has 1 dimension, it is considered as the last row of 
the resulting 2 dimension array.</paragraph>
-  <paragraph role="paragraph" id="par_id321582643611415"><emph>row</emph>: A 
1-dimensional array containing as many items as there are rows in 
<literal>array_2d</literal>.</paragraph>
+  <paragraph role="paragraph" 
id="par_id991582643611645"><emph>array_2d</emph>: The pre-existing array, may 
be empty. If that array has 1 dimension, it is considered as the last row of 
the resulting 2-dimensional array.</paragraph>
+  <paragraph role="paragraph" id="par_id321582643611415"><emph>row</emph>: A 
1-dimensional array containing as many items as there are columns in 
<literal>array_2d</literal>.</paragraph>
   <embed href="text/sbasic/shared/00000003.xhp#functexample"/>
   <bascode>
     <paragraph role="bascode" localize="false" id="bas_id611582643611408">Dim 
a As Variant, b As variant</paragraph>
@@ -913,7 +913,7 @@
     <bookmark_value>Array service;Union</bookmark_value>
   </bookmark>
   <h2 id="hd_id341582653148202" localize="false">Union</h2>
-  <paragraph role="paragraph" id="par_id461582653148663">Build a set, as a 
zero-based array, by applying the union operator on the two input arrays. 
Resulting items originate from any of both arrays.
+  <paragraph role="paragraph" id="par_id461582653148663">Builds a set, as a 
zero-based array, by applying the union operator on the two input arrays. 
Resulting items originate from any of both arrays.
       <br/>The resulting array is sorted in ascending order.
       <br/>Both input arrays must be filled homogeneously, their items must be 
scalars of the same type. <literal>Empty</literal> and <literal>Null</literal> 
items are forbidden.
       <br/>Text comparison can be case sensitive or not.</paragraph>
diff --git a/source/text/sbasic/shared/03/sf_base.xhp 
b/source/text/sbasic/shared/03/sf_base.xhp
index ad5a46b04..d78a60854 100644
--- a/source/text/sbasic/shared/03/sf_base.xhp
+++ b/source/text/sbasic/shared/03/sf_base.xhp
@@ -115,7 +115,7 @@
     <input>svc.CloseFormDocument(formdocument: str): bool</input>
   </paragraph>
   <embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
-  <paragraph role="paragraph" 
id="par_id941619079997810"><emph>formDocument:</emph> The name of the 
<literal>FormDocument</literal> to be closed, as a case-sensitive 
string.</paragraph>
+  <paragraph role="paragraph" 
id="par_id941619079997810"><emph>formdocument:</emph> The name of the 
<literal>FormDocument</literal> to be closed, as a case-sensitive 
string.</paragraph>
   <embed href="text/sbasic/shared/00000003.xhp#functexample"/>
   <paragraph role="paragraph" id="par_id351619100723505">If form documents are 
organized in folders, it is necessary to include the folder name to specify the 
form document to be opened, as illustrated in the following 
examples:</paragraph>
   <embed href="text/sbasic/shared/00000003.xhp#In_Basic"/>
diff --git a/source/text/sbasic/shared/03/sf_database.xhp 
b/source/text/sbasic/shared/03/sf_database.xhp
index 3efd09631..890b42a3d 100644
--- a/source/text/sbasic/shared/03/sf_database.xhp
+++ b/source/text/sbasic/shared/03/sf_database.xhp
@@ -89,13 +89,13 @@
     </bascode>
     <embed href="text/sbasic/shared/00000003.xhp#In_Python"/>
     <pycode>
-      <paragraph role="pycode" id="pyc_id881625699438103">ui = 
CreateScriptService("UI")</paragraph>
-      <paragraph role="pycode" id="pyc_id111625699438354">doc = 
ui.OpenBaseDocument("/home/user/Documents/myDB.odb")</paragraph>
+      <paragraph role="pycode" localize="false" id="pyc_id881625699438103">ui 
= CreateScriptService("UI")</paragraph>
+      <paragraph role="pycode" localize="false" id="pyc_id111625699438354">doc 
= ui.OpenBaseDocument("/home/user/Documents/myDB.odb")</paragraph>
       <paragraph role="pycode" id="pyc_id731625699527917"># User and password 
are supplied below, if needed</paragraph>
-      <paragraph role="pycode" id="pyc_id741625699438527">myDatabase = 
doc.GetDatabase()</paragraph>
+      <paragraph role="pycode" localize="false" 
id="pyc_id741625699438527">myDatabase = doc.GetDatabase()</paragraph>
       <paragraph role="pycode" id="pyc_id201625699438702"># Run queries, SQL 
statements, ...</paragraph>
-      <paragraph role="pycode" 
id="pyc_id171625699438887">myDatabase.CloseDatabase()</paragraph>
-      <paragraph role="pycode" 
id="pyc_id231625699570502">doc.CloseDocument()</paragraph>
+      <paragraph role="pycode" localize="false" 
id="pyc_id171625699438887">myDatabase.CloseDatabase()</paragraph>
+      <paragraph role="pycode" localize="false" 
id="pyc_id231625699570502">doc.CloseDocument()</paragraph>
     </pycode>
     <tip id="par_id361619188184750">The <link 
href="text/sbasic/shared/03/sf_database.xhp#GetDatabase" name="GetDatabase 
method">GetDatabase</link> method used in the example above is part of 
ScriptForge's <literal>Base</literal> service.</tip>
 
@@ -374,7 +374,7 @@
     <paragraph role="paragraph" id="par_id331615385491925">The method returns 
<literal>True</literal> when successful.</paragraph>
     <tip id="par_id21599490810021" xml-lang="en-US">The 
<literal>RunSql</literal> method is rejected with an error message in case the 
database was previously opened in read-only mode.</tip>
     <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
-    <paragraph role="paragraph" id="par_id421625701780046">
+    <paragraph role="paragraph" localize="false" id="par_id421625701780046">
       <input>db.RunSql(sqlcommand: str, directsql: bool = False): bool</input>
     </paragraph>
     <embed href="text/sbasic/shared/00000003.xhp#functparameters"/>

Reply via email to