sc/qa/unit/scshapetest.cxx                   |    2 +-
 wizards/source/scriptforge/SF_Array.xba      |    8 ++++----
 wizards/source/scriptforge/SF_Dictionary.xba |   10 +++++-----
 wizards/source/scriptforge/SF_Exception.xba  |    8 ++++----
 wizards/source/scriptforge/SF_FileSystem.xba |   12 ++++++------
 wizards/source/scriptforge/SF_L10N.xba       |   12 ++++++------
 6 files changed, 26 insertions(+), 26 deletions(-)

New commits:
commit efca0ebee5a5d80a309487bceb76f7828740e822
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Fri Nov 6 12:21:15 2020 +0100
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sat Nov 7 10:54:01 2020 +0100

    Fix typos
    
    Change-Id: I7ba612d8880833057269290212bcd9d864bb7395
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105399
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/sc/qa/unit/scshapetest.cxx b/sc/qa/unit/scshapetest.cxx
index 15d083e17380..49bad113610e 100644
--- a/sc/qa/unit/scshapetest.cxx
+++ b/sc/qa/unit/scshapetest.cxx
@@ -154,7 +154,7 @@ void ScShapeTest::testTdf115655_HideDetail()
 {
     // The document contains an image inside a cell anchored "To Cell (resize 
with cell)". The cell
     // belongs to a group. On loading the group is expanded.
-    // Error was, that after collapsing the group, save and reload, and 
exanding the group, the image
+    // Error was, that after collapsing the group, save and reload, and 
expanding the group, the image
     // was "lost". Actually is was resized to zero height.
     OUString aFileURL;
     createFileURL("tdf115655_HideDetail.ods", aFileURL);
diff --git a/wizards/source/scriptforge/SF_Array.xba 
b/wizards/source/scriptforge/SF_Array.xba
index 914f42269867..8ffc64127a0f 100644
--- a/wizards/source/scriptforge/SF_Array.xba
+++ b/wizards/source/scriptforge/SF_Array.xba
@@ -32,7 +32,7 @@ REM 
============================================================ MODULE CONSTANT
 
 Const MAXREPR                                  = 50    &apos;  Maximum length 
to represent an array in the console
 
-REM ===================================================== 
CONSTRUCTOR/DESCTRUCTOR
+REM ===================================================== 
CONSTRUCTOR/DESTRUCTOR
 
 REM 
-----------------------------------------------------------------------------
 Public Function Dispose() As Variant
@@ -375,7 +375,7 @@ Public Function CountDims(Optional ByRef Array_ND As 
Variant) As Integer
 &apos;&apos;&apos;     Count the number of dimensions of an array - may be 
&gt; 2
 &apos;&apos;&apos;     Args:
 &apos;&apos;&apos;             Array_ND: the array to be examined
-&apos;&apos;&apos;     Return: the number of dimensions: -1 = not array, 0 = 
unitialized array, else &gt;= 1
+&apos;&apos;&apos;     Return: the number of dimensions: -1 = not array, 0 = 
uninitialized array, else &gt;= 1
 &apos;&apos;&apos;     Examples:
 &apos;&apos;&apos;             Dim a(1 To 10, -3 To 12, 5)
 &apos;&apos;&apos;             CountDims(a) returns 3
@@ -2387,7 +2387,7 @@ Dim lSwap As Long                         &apos;  For 
index swaps
        For i = (lMax + lMin) \ 2 To lMin Step -1
                SF_Array._HeapSort1(pvArray, vIndexes, i, lMin, lMax, 
pbCaseSensitive)
        Next i
-       &apos;  Next heapifies
+       &apos;  Next heapify
        For i = lMax To lMin + 1 Step -1
                &apos;  Only indexes as swapped, not the array items themselves
                lSwap = vIndexes(i)
@@ -2546,4 +2546,4 @@ Dim iCompare As Integer, iVarType1 As Integer, iVarType2 
As Integer
 End Function   &apos;  ScriptForge.SF_Array._ValCompare
 
 REM ================================================= END OF 
SCRIPTFORGE.SF_ARRAY
-</script:module>
\ No newline at end of file
+</script:module>
diff --git a/wizards/source/scriptforge/SF_Dictionary.xba 
b/wizards/source/scriptforge/SF_Dictionary.xba
index e84db342fd5b..6cce27ea4a48 100644
--- a/wizards/source/scriptforge/SF_Dictionary.xba
+++ b/wizards/source/scriptforge/SF_Dictionary.xba
@@ -23,11 +23,11 @@ Option Explicit
 &apos;&apos;&apos;                     - one collection mapping keys and 
entries in the array
 &apos;&apos;&apos;                     - one 1-column array: key + data
 &apos;&apos;&apos;
-&apos;&apos;&apos;             Why a Dictionay class beside the builtin 
Collection class ?
+&apos;&apos;&apos;             Why a Dictionary class beside the builtin 
Collection class ?
 &apos;&apos;&apos;                     A standard Basic collection does not 
support the retrieval of the keys
 &apos;&apos;&apos;                     Additionally it may contain only simple 
data (strings, numbers, ...)
 &apos;&apos;&apos;
-&apos;&apos;&apos;             Service instanciation example:
+&apos;&apos;&apos;             Service instantiation example:
 &apos;&apos;&apos;                     Dim myDict As Variant
 &apos;&apos;&apos;                     myDict = 
CreateScriptService(&quot;Dictionary&quot;)            &apos;  Once per 
dictionary
 
&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;&apos;
@@ -55,7 +55,7 @@ Private MapItems                      As Variant              
&apos; Array of ItemMaps
 Private _MapSize                       As Long                 &apos; Total 
number of entries in the dictionary
 Private _MapRemoved                    As Long                 &apos; Number 
of inactive entries in the dictionary
 
-REM ===================================================== 
CONSTRUCTOR/DESCTRUCTOR
+REM ===================================================== 
CONSTRUCTOR/DESTRUCTOR
 
 REM 
-----------------------------------------------------------------------------
 Private Sub Class_Initialize()
@@ -480,7 +480,7 @@ Public Function ImportFromJson(Optional ByVal InputStr As 
Variant _
 &apos;&apos;&apos;                     &amp; &quot;,&apos;children&apos;: 
[&apos;Q&apos;,&apos;M&apos;,&apos;G&apos;,&apos;T&apos;],&apos;spouse&apos;: 
null}&quot;
 &apos;&apos;&apos;             s = Replace(s, &quot;&apos;&quot;, 
&quot;&quot;&quot;&quot;)
 &apos;&apos;&apos;             myDict.ImportFromJson(s, OverWrite := True)
-&apos;&apos;&apos;                     &apos;  The (sub)-dictionaries 
&quot;adress&quot; and &quot;phoneNumbers(0) and (1) are reduced to Empty       
 
+&apos;&apos;&apos;                     &apos;  The (sub)-dictionaries 
&quot;address&quot; and &quot;phoneNumbers(0) and (1) are reduced to Empty      
 
 
 Dim bImport As Boolean                 &apos;  Return value
 Dim vArray As Variant                  &apos;  JSON string converted to array
@@ -949,4 +949,4 @@ Const cstSeparator = &quot;, &quot;
 End Function   &apos;  ScriptForge.SF_Dictionary._Repr
 
 REM ============================================ END OF 
SCRIPTFORGE.SF_DICTIONARY
-</script:module>
\ No newline at end of file
+</script:module>
diff --git a/wizards/source/scriptforge/SF_Exception.xba 
b/wizards/source/scriptforge/SF_Exception.xba
index 09e930a9ba90..30da6907f4f5 100644
--- a/wizards/source/scriptforge/SF_Exception.xba
+++ b/wizards/source/scriptforge/SF_Exception.xba
@@ -131,7 +131,7 @@ REM 
============================================================ MODULE CONSTANT
 Const RUNTIMEERRORS                            =       2000                    
&apos; Upper limit of Basic run-time errors
 Const CONSOLENAME                              =       
&quot;ConsoleLines&quot;        &apos; Name of control in the console dialog
 
-REM ===================================================== 
CONSTRUCTOR/DESCTRUCTOR
+REM ===================================================== 
CONSTRUCTOR/DESTRUCTOR
 
 REM 
-----------------------------------------------------------------------------
 Public Function Dispose() As Variant
@@ -339,7 +339,7 @@ Public Function ConsoleToFile(Optional ByVal FileName As 
Variant) As Boolean
 &apos;&apos;&apos; Export the content of the console to a text file
 &apos;&apos;&apos;     If the file exists and the console is not empty, it is 
overwritten without warning
 &apos;&apos;&apos;     Args:
-&apos;&apos;&apos;             FileName: the complete file name to export to. 
It it exists, it will be overwritten without warning
+&apos;&apos;&apos;             FileName: the complete file name to export to. 
If it exists, is overwritten without warning
 &apos;&apos;&apos;     Returns:
 &apos;&apos;&apos;             True if the file could be created
 &apos;&apos;&apos;     Examples:
@@ -728,7 +728,7 @@ Try:
                                sMessage = sLocation _
                                        &amp; &quot;\n&quot; &amp; 
&quot;\n&quot; &amp; &quot;\n&quot; &amp; .GetText(&quot;VALIDATEERROR&quot;, 
pvArgs(0)) _
                                        &amp; &quot;\n&quot; &amp; 
&quot;\n&quot; &amp; .GetText(&quot;UNKNOWNFOLDER&quot;, pvArgs(0), pvArgs(1))
-                       Case NOTAFILEERROR                      &apos;  
SF_FileSystem.CopyFiler/MoveFile/DeleteFile(ArgName, Filename)
+                       Case NOTAFILEERROR                      &apos;  
SF_FileSystem.CopyFile/MoveFile/DeleteFile(ArgName, Filename)
                                sMessage = sLocation _
                                        &amp; &quot;\n&quot; &amp; 
&quot;\n&quot; &amp; &quot;\n&quot; &amp; .GetText(&quot;VALIDATEERROR&quot;, 
pvArgs(0)) _
                                        &amp; &quot;\n&quot; &amp; 
&quot;\n&quot; &amp; .GetText(&quot;NOTAFILE&quot;, pvArgs(0), pvArgs(1))
@@ -1104,4 +1104,4 @@ Private Function _Repr() As String
 End Function   &apos;  ScriptForge.SF_Exception._Repr
 
 REM ============================================ END OF 
SCRIPTFORGE.SF_EXCEPTION
-</script:module>
\ No newline at end of file
+</script:module>
diff --git a/wizards/source/scriptforge/SF_FileSystem.xba 
b/wizards/source/scriptforge/SF_FileSystem.xba
index a0d124da3b5b..3a985b9efee1 100644
--- a/wizards/source/scriptforge/SF_FileSystem.xba
+++ b/wizards/source/scriptforge/SF_FileSystem.xba
@@ -60,7 +60,7 @@ Const cstForReading                           =       1
 Const cstForWriting                            =       2
 Const cstForAppending                  =       8
 
-REM ===================================================== 
CONSTRUCTOR/DESCTRUCTOR
+REM ===================================================== 
CONSTRUCTOR/DESTRUCTOR
 
 REM 
-----------------------------------------------------------------------------
 Public Function Dispose() As Variant
@@ -621,7 +621,7 @@ Public Function DeleteFolder(Optional ByVal FolderName As 
Variant) As Boolean
 &apos;&apos;&apos;             NOTAFOLDERERROR                         
Argument is a file, not a folder
 &apos;&apos;&apos;     Example:
 &apos;&apos;&apos;             FSO.FileNaming = &quot;SYS&quot;
-&apos;&apos;&apos;             FSO.DeleteFolder(&quot;C:\Temp\*&quot;)         
&apos;  Only solders are deleted, filesin the parent folder are not
+&apos;&apos;&apos;             FSO.DeleteFolder(&quot;C:\Temp\*&quot;)         
&apos;  Only olders are deleted, files in the parent folder are not
 
 Dim bDelete As Boolean                 &apos;  Return value
 
@@ -1441,7 +1441,7 @@ Public Function PickFile(Optional ByVal DefaultFile As 
Variant _
 &apos;&apos;&apos;     Returns:
 &apos;&apos;&apos;             The selected FileName in URL format or 
&quot;&quot; if the dialog was cancelled
 &apos;&apos;&apos;     Example:
-&apos;&apos;&apos;             FSO.FineNaming = &quot;SYS&quot;
+&apos;&apos;&apos;             FSO.FileNaming = &quot;SYS&quot;
 &apos;&apos;&apos;             FSO.PickFile(&quot;C:\&quot;, &quot;OPEN&quot;, 
&quot;txt&quot;)                &apos; Only *.txt files are displayed
 
 Dim oFileDialog As Object              &apos;  
com.sun.star.ui.dialogs.FilePicker
@@ -1525,7 +1525,7 @@ Public Function PickFolder(Optional ByVal DefaultFolder 
As variant _
 &apos;&apos;&apos;             The selected FolderName in URL or operating 
system format
 &apos;&apos;&apos;             The zero-length string if the dialog was 
cancelled
 &apos;&apos;&apos;     Example:
-&apos;&apos;&apos;             FSO.FineNaming = &quot;SYS&quot;
+&apos;&apos;&apos;             FSO.FileNaming = &quot;SYS&quot;
 &apos;&apos;&apos;             FSO.PickFolder(&quot;C:\&quot;, &quot;Choose a 
folder or press Cancel&quot;)
 
 Dim oFolderDialog As Object            &apos;  
com.sun.star.ui.dialogs.FolderPicker
@@ -1766,7 +1766,7 @@ Dim bFile As Boolean                      &apos;  True if 
File, False if Folder
 Dim oSfa As Object                             &apos;  
com.sun.star.ucb.SimpleFileAccess
 Dim bWildCards As Boolean              &apos;  True if wildcards found in 
Source
 Dim bCreateFolder As Boolean   &apos;  True when the destination folder should 
be created
-Dim bDestExists As Boolean             &apos;  True if desination exists
+Dim bDestExists As Boolean             &apos;  True if destination exists
 Dim sSourceUrl As String               &apos;  Alias for Source
 Dim sDestinationUrl As String  &apos;  Alias for Destination
 Dim sDestinationFile As String &apos;  Destination FileName
@@ -2081,4 +2081,4 @@ Dim sFolder As String             &apos;  Folder
 End Function   &apos;  ScriptForge.SF_FileSystem._SFInstallFolder
 
 REM ============================================ END OF 
SCRIPTFORGE.SF_FileSystem
-</script:module>
\ No newline at end of file
+</script:module>
diff --git a/wizards/source/scriptforge/SF_L10N.xba 
b/wizards/source/scriptforge/SF_L10N.xba
index 6ff222543a00..fcb87ef1471b 100644
--- a/wizards/source/scriptforge/SF_L10N.xba
+++ b/wizards/source/scriptforge/SF_L10N.xba
@@ -62,7 +62,7 @@ REM 
=============================================================== PRIVATE TYPE
 &apos;&apos;&apos;     The recognized elements of an entry in a PO file are 
(other elements are ignored) :
 &apos;&apos;&apos;             #. Extracted comments (given by the programmer 
to the translator)
 &apos;&apos;&apos;             #, flag (the kde-format flag when the string 
contains tokens)
-&apos;&apos;&apos;             msgctxt Context (to store an acronym associated 
with the message, this is a distorsion of the norm)
+&apos;&apos;&apos;             msgctxt Context (to store an acronym associated 
with the message, this is a distortion of the norm)
 &apos;&apos;&apos;             msgid untranslated-string
 &apos;&apos;&apos;             msgstr translated-string
 &apos;&apos;&apos;     NB: plural forms are not supported
@@ -91,7 +91,7 @@ Private _POFile                               As String       
        &apos; PO file in URL format
 Private _Encoding                      As String               &apos; Used to 
open the PO file, default = UTF-8
 Private _Dictionary                    As Object               &apos; 
SF_Dictionary
 
-REM ===================================================== 
CONSTRUCTOR/DESCTRUCTOR
+REM ===================================================== 
CONSTRUCTOR/DESTRUCTOR
 
 REM 
-----------------------------------------------------------------------------
 Private Sub Class_Initialize()
@@ -181,7 +181,7 @@ Public Function AddText(Optional ByVal Context As Variant _
 Dim bAdd As Boolean                            &apos;   Output buffer
 Dim sKey As String                             &apos;  The key part of the new 
entry in the dictionary
 Dim vItem As POEntry                   &apos;  The item part of the new entry 
in the dictionary
-Const cstPipe = &quot;|&quot;                          &apos;  Pipe forbedden 
in MsgId&apos;s
+Const cstPipe = &quot;|&quot;                          &apos;  Pipe forbidden 
in MsgId&apos;s
 Const cstThisSub = &quot;L10N.AddText&quot;
 Const cstSubArgs = &quot;[Context=&quot;&quot;&quot;&quot;], MsgId, 
[Comment=&quot;&quot;&quot;&quot;]&quot;
 
@@ -234,8 +234,8 @@ Public Function ExportToPOTFile(Optional ByVal FileName As 
Variant _
 &apos;&apos;&apos;             or by a successful invocation of the L10N 
service with the FolderName argument
 &apos;&apos;&apos;     The generated file should pass successfully the 
&quot;msgfmt --check &apos;the pofile&apos;&quot; GNU command
 &apos;&apos;&apos;     Args:
-&apos;&apos;&apos;             FileName: the complete file name to export to. 
It it exists, it will be overwritten without warning
-&apos;&apos;&apos;             Header: Comments that will appear on top of the 
generated file. Do not include any leadung &quot;#&quot;
+&apos;&apos;&apos;             FileName: the complete file name to export to. 
If it exists, is overwritten without warning
+&apos;&apos;&apos;             Header: Comments that will appear on top of the 
generated file. Do not include any leading &quot;#&quot;
 &apos;&apos;&apos;                     If the string spans multiple lines, 
insert escape sequences (\n) where relevant
 &apos;&apos;&apos;                     A standard header will be added anyway
 &apos;&apos;&apos;             Encoding: The character set that should be used
@@ -693,4 +693,4 @@ Private Function _Repr() As String
 End Function   &apos;  ScriptForge.SF_L10N._Repr
 
 REM ============================================ END OF SCRIPTFORGE.SF_L10N
-</script:module>
\ No newline at end of file
+</script:module>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to