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

Rafael Lima (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 26 15:11:56 UTC 2021


 source/text/sbasic/shared/03/sf_array.xhp |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

New commits:
commit 4373f58e837de5fe8ae2d0650da53fa881a83f1e
Author:     Rafael Lima <rafael.palma.lima at gmail.com>
AuthorDate: Mon Jul 26 15:25:56 2021 +0200
Commit:     Jean-Pierre Ledure <jp at ledure.be>
CommitDate: Mon Jul 26 17:11:35 2021 +0200

    Fix example in SF_Array
    
    Change-Id: Ib52749668ada9c1b250cb0eb5f9c530808475fd2
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/119439
    Tested-by: Jenkins
    Reviewed-by: Jean-Pierre Ledure <jp at ledure.be>

diff --git a/source/text/sbasic/shared/03/sf_array.xhp b/source/text/sbasic/shared/03/sf_array.xhp
index 8307754d8..48f53418b 100644
--- a/source/text/sbasic/shared/03/sf_array.xhp
+++ b/source/text/sbasic/shared/03/sf_array.xhp
@@ -814,8 +814,9 @@
     <paragraph role="bascode" localize="false" id="bas_id671582650186608">' arr = | 5, 7, 3 |</paragraph>
     <paragraph role="bascode" localize="false" id="bas_id461626999366253">'       | 1, 9, 5 |</paragraph>
     <paragraph role="bascode" localize="false" id="bas_id841626999366663">'       | 6, 1, 8 |</paragraph>
-    <paragraph role="bascode" localize="false" id="bas_id561582650186620">Dim arr as Variant</paragraph>
-    <paragraph role="bascode" localize="false" id="bas_id81626999261871">arr = Array(Array(5, 7, 3), Array(1, 9, 5), Array(6, 1, 8))</paragraph>
+    <paragraph role="bascode" localize="false" id="bas_id561582650186620">Dim arr as Variant : arr = Array(5, 7, 3)</paragraph>
+    <paragraph role="bascode" localize="false" id="bas_id81626999261871">arr = SF_Array.AppendRow(arr, Array(1, 9, 5))</paragraph>
+    <paragraph role="bascode" localize="false" id="bas_id81626999261909">arr = SF_Array.AppendRow(arr, Array(6, 1, 8))</paragraph>
     <paragraph role="bascode" localize="false" id="bas_id251582650186630">arr = SF_Array.SortColumns(arr, 2, "ASC")</paragraph>
     <paragraph role="bascode" localize="false" id="bas_id671582650186588">' arr = | 7, 5, 3 |</paragraph>
     <paragraph role="bascode" localize="false" id="bas_id461626999366287">'       | 9, 1, 5 |</paragraph>
@@ -846,8 +847,9 @@
     <paragraph role="bascode" localize="false" id="bas_id671582650186902">' arr = | 5, 7, 3 |</paragraph>
     <paragraph role="bascode" localize="false" id="bas_id461626999366144">'       | 1, 9, 5 |</paragraph>
     <paragraph role="bascode" localize="false" id="bas_id841626999366532">'       | 6, 1, 8 |</paragraph>
-    <paragraph role="bascode" localize="false" id="bas_id561582650186011">Dim arr as Variant</paragraph>
-    <paragraph role="bascode" localize="false" id="bas_id81626999261901">arr = Array(Array(5, 7, 3), Array(1, 9, 5), Array(6, 1, 8))</paragraph>
+    <paragraph role="bascode" localize="false" id="bas_id561582650186071">Dim arr as Variant : arr = Array(5, 7, 3)</paragraph>
+    <paragraph role="bascode" localize="false" id="bas_id81626999264376">arr = SF_Array.AppendRow(arr, Array(1, 9, 5))</paragraph>
+    <paragraph role="bascode" localize="false" id="bas_id81626999260021">arr = SF_Array.AppendRow(arr, Array(6, 1, 8))</paragraph>
     <paragraph role="bascode" localize="false" id="bas_id251582650186954">arr = SF_Array.SortRows(arr, 0, "ASC")</paragraph>
     <paragraph role="bascode" localize="false" id="bas_id671582650186887">' arr = | 1, 9, 5 |</paragraph>
     <paragraph role="bascode" localize="false" id="bas_id461626999366241">'       | 5, 7, 3 |</paragraph>


More information about the Libreoffice-commits mailing list