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

Alain Romedenne (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 13 14:08:05 UTC 2021


 source/text/sbasic/shared/03/sf_base.xhp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 12f1ebf5f989b60ec2c2470e79fbeabf8247f483
Author:     Alain Romedenne <alain.romedenne at libreoffice.org>
AuthorDate: Fri Aug 13 15:57:41 2021 +0200
Commit:     Alain Romedenne <alain.romedenne at libreoffice.org>
CommitDate: Fri Aug 13 16:07:44 2021 +0200

    sf_base review
    
    - typo in Python example
    
    Change-Id: I43c6125b20b0c5a4b94c3160e8157eb094bd7a78
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/120434
    Tested-by: Jenkins
    Reviewed-by: Alain Romedenne <alain.romedenne at libreoffice.org>

diff --git a/source/text/sbasic/shared/03/sf_base.xhp b/source/text/sbasic/shared/03/sf_base.xhp
index d435f00d9..96a4b6b14 100644
--- a/source/text/sbasic/shared/03/sf_base.xhp
+++ b/source/text/sbasic/shared/03/sf_base.xhp
@@ -127,7 +127,7 @@
   <pycode>
     <paragraph role="pycode" localize="false" id="pyc_id691623103639534">bas = CreateScriptService("Basic")</paragraph>
     <paragraph role="pycode" localize="false" id="pyc_id101623103639206">doc = CreateScriptService("Document", bas.ThisDataBaseDocument)</paragraph>
-    <paragraph role="pycode" localize="false" id="pyc_id901623103639390">myForms = oDoc.FormDocuments()</paragraph>
+    <paragraph role="pycode" localize="false" id="pyc_id901623103639390">myForms = doc.FormDocuments()</paragraph>
     <paragraph role="pycode" localize="false" id="pyc_id791623103639701">for formName in myForms:</paragraph>
     <paragraph role="pycode" localize="false" id="pyc_id741623103639861">    bas.MsgBox(formName)</paragraph>
   </pycode>


More information about the Libreoffice-commits mailing list