summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-12-17 13:24:55 +0100
committerJean-Pierre Ledure <jp@ledure.be>2020-12-17 14:57:03 +0100
commit7d41ca2f59c2f22e90de358b852f56759f6c1ee9 (patch)
treea257b73edd40c70323da723cbde0884c73de172b /wizards
parent6a1555d2011032100dc0f37bb2298f3c555d3b45 (diff)
Fix typos
Change-Id: Ibbf592ba80afbe174662e1cc2dd992e7a16f67e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107876 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/source/sfdocuments/SF_Base.xba6
-rw-r--r--wizards/source/sfdocuments/SF_Form.xba8
2 files changed, 7 insertions, 7 deletions
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
&apos;&apos;&apos; Returns a token-separated string of all hierarchical formdocument names
&apos;&apos;&apos; depending on the formdocuments container in argument
-&apos;&apos;&apos; The function traverses recursively the whle tree below the container
+&apos;&apos;&apos; The function traverses recursively the whole tree below the container
&apos;&apos;&apos; The initial call starts from the container _Component.getFormDocuments
&apos;&apos;&apos; The list contains closed and open forms
-Dim sCollectNames As String &apos; Returno value
+Dim sCollectNames As String &apos; Return value
Dim oSubItem As Object &apos; com.sun.star.container.XNameAccess (folder) or com.sun.star.ucb.XContent (form)
Dim sFormName As String &apos; Single form name
Dim i As Long
@@ -710,4 +710,4 @@ Private Function _Repr() As String
End Function &apos; 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
&apos; Form location
Private _Name As String &apos; Internal name of the form
-Private _DrawPage As Long &apos; Index in DrawOages collection
+Private _DrawPage As Long &apos; Index in DrawPages collection
Private _UsualName As String &apos; Name as known by user
Private _FormType As Integer &apos; One of the ISxxxFORM constants
@@ -333,7 +333,7 @@ Try:
ElseIf Len(_Form.DataSOurceName) = 0 Then &apos; There is no database linked with the form
&apos; Return Nothing
Else
- &apos; Check if DataSourceName is a file or a registrered name and create database instance accordingly
+ &apos; 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(&quot;SFDatabases.Database&quot; _
@@ -533,7 +533,7 @@ Check:
Try:
&apos; For usual documents, check that the parent document is still open
- &apos; For Base forms and subforms, check the openess of the main form
+ &apos; 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 &apos; SFDocuments.SF_Form._Repr
REM ============================================ END OF SFDOCUMENTS.SF_FORM
-</script:module> \ No newline at end of file
+</script:module>