diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-12-17 13:24:55 +0100 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2020-12-17 14:57:03 +0100 |
commit | 7d41ca2f59c2f22e90de358b852f56759f6c1ee9 (patch) | |
tree | a257b73edd40c70323da723cbde0884c73de172b /wizards/source/sfdocuments | |
parent | 6a1555d2011032100dc0f37bb2298f3c555d3b45 (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/source/sfdocuments')
-rw-r--r-- | wizards/source/sfdocuments/SF_Base.xba | 6 | ||||
-rw-r--r-- | wizards/source/sfdocuments/SF_Form.xba | 8 |
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 ''' 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> |