[Libreoffice-commits] core.git: wizards/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Thu Dec 17 13:57:47 UTC 2020
wizards/source/sfdocuments/SF_Base.xba | 6 +++---
wizards/source/sfdocuments/SF_Form.xba | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 7d41ca2f59c2f22e90de358b852f56759f6c1ee9
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Thu Dec 17 13:24:55 2020 +0100
Commit: Jean-Pierre Ledure <jp at ledure.be>
CommitDate: Thu Dec 17 14:57:03 2020 +0100
Fix typos
Change-Id: Ibbf592ba80afbe174662e1cc2dd992e7a16f67e7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107876
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Reviewed-by: Jean-Pierre Ledure <jp at ledure.be>
Tested-by: Jenkins
Tested-by: Jean-Pierre Ledure <jp at ledure.be>
diff --git a/wizards/source/sfdocuments/SF_Base.xba b/wizards/source/sfdocuments/SF_Base.xba
index 6ae761eef85c..8ab19d5cf103 100644
--- a/wizards/source/sfdocuments/SF_Base.xba
+++ b/wizards/source/sfdocuments/SF_Base.xba
@@ -603,11 +603,11 @@ REM ----------------------------------------------------------------------------
Private Function _CollectFormDocuments(ByRef poContainer As Object) As String
''' Returns a token-separated string of all hierarchical formdocument names
''' depending on the formdocuments container in argument
-''' The function traverses recursively the whle tree below the container
+''' The function traverses recursively the whole tree below the container
''' The initial call starts from the container _Component.getFormDocuments
''' The list contains closed and open forms
-Dim sCollectNames As String ' Returno value
+Dim sCollectNames As String ' Return value
Dim oSubItem As Object ' com.sun.star.container.XNameAccess (folder) or com.sun.star.ucb.XContent (form)
Dim sFormName As String ' Single form name
Dim i As Long
@@ -710,4 +710,4 @@ Private Function _Repr() As String
End Function ' SFDocuments.SF_Base._Repr
REM ============================================ END OF SFDOCUMENTS.SF_BASE
-</script:module>
\ No newline at end of file
+</script:module>
diff --git a/wizards/source/sfdocuments/SF_Form.xba b/wizards/source/sfdocuments/SF_Form.xba
index cdc4fbe92c35..ef83da999582 100644
--- a/wizards/source/sfdocuments/SF_Form.xba
+++ b/wizards/source/sfdocuments/SF_Form.xba
@@ -75,7 +75,7 @@ Private ServiceName As String
' Form location
Private _Name As String ' Internal name of the form
-Private _DrawPage As Long ' Index in DrawOages collection
+Private _DrawPage As Long ' Index in DrawPages collection
Private _UsualName As String ' Name as known by user
Private _FormType As Integer ' One of the ISxxxFORM constants
@@ -333,7 +333,7 @@ Try:
ElseIf Len(_Form.DataSOurceName) = 0 Then ' There is no database linked with the form
' Return Nothing
Else
- ' Check if DataSourceName is a file or a registrered name and create database instance accordingly
+ ' Check if DataSourceName is a file or a registered name and create database instance accordingly
Set FSO = ScriptForge.SF_FileSystem
If FSO.FileExists(FSO._ConvertFromUrl(_Form.DataSourceName)) Then
Set _Database = ScriptForge.SF_Services.CreateScriptService("SFDatabases.Database" _
@@ -533,7 +533,7 @@ Check:
Try:
' For usual documents, check that the parent document is still open
- ' For Base forms and subforms, check the openess of the main form
+ ' For Base forms and subforms, check the openness of the main form
Select Case _FormType
Case ISDOCFORM, ISCALCFORM
bAlive = [_Parent]._IsStillAlive(pbError)
@@ -649,4 +649,4 @@ Private Function _Repr() As String
End Function ' SFDocuments.SF_Form._Repr
REM ============================================ END OF SFDOCUMENTS.SF_FORM
-</script:module>
\ No newline at end of file
+</script:module>
More information about the Libreoffice-commits
mailing list