[Libreoffice-commits] core.git: wizards/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Fri Nov 6 17:39:36 UTC 2020


 wizards/source/sfdialogs/SF_Dialog.xba        |    2 +-
 wizards/source/sfdialogs/SF_DialogControl.xba |    4 ++--
 wizards/source/sfdialogs/SF_Register.xba      |    4 ++--
 wizards/source/sfdocuments/SF_Base.xba        |    4 ++--
 wizards/source/sfdocuments/SF_Calc.xba        |   14 +++++++-------
 wizards/source/sfdocuments/SF_Document.xba    |    2 +-
 6 files changed, 15 insertions(+), 15 deletions(-)

New commits:
commit 45663079407ddf8ec4fd1e070e63571132b92f65
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Nov 6 12:21:57 2020 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Nov 6 18:38:57 2020 +0100

    Fix typos
    
    Change-Id: Ie7b8ca46092cc151ee2ec50bfd00a7ad9930f783
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105402
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/wizards/source/sfdialogs/SF_Dialog.xba b/wizards/source/sfdialogs/SF_Dialog.xba
index 63abb011aeea..befa333b70c6 100644
--- a/wizards/source/sfdialogs/SF_Dialog.xba
+++ b/wizards/source/sfdialogs/SF_Dialog.xba
@@ -75,7 +75,7 @@ REM ============================================================ MODULE CONSTANT
 Private Const OKBUTTON		= 1
 Private Const CANCELBUTTON	= 0
 
-REM ===================================================== CONSTRUCTOR/DESCTRUCTOR
+REM ===================================================== CONSTRUCTOR/DESTRUCTOR
 
 REM -----------------------------------------------------------------------------
 Private Sub Class_Initialize()
diff --git a/wizards/source/sfdialogs/SF_DialogControl.xba b/wizards/source/sfdialogs/SF_DialogControl.xba
index 3d1494a5c36c..2b23fed76331 100644
--- a/wizards/source/sfdialogs/SF_DialogControl.xba
+++ b/wizards/source/sfdialogs/SF_DialogControl.xba
@@ -80,7 +80,7 @@ Private Const CTLSCROLLBAR		= "ScrollBar"
 Private Const CTLTEXTFIELD		= "TextField"
 Private Const CTLTIMEFIELD		= "TimeField"
 
-REM ===================================================== CONSTRUCTOR/DESCTRUCTOR
+REM ===================================================== CONSTRUCTOR/DESTRUCTOR
 
 REM -----------------------------------------------------------------------------
 Private Sub Class_Initialize()
@@ -1096,4 +1096,4 @@ Private Function _Repr() As String
 End Function	'	SFDialogs.SF_DialogControl._Repr
 
 REM ============================================ END OF SFDIALOGS.SF_DIALOGCONTROL
-</script:module>
\ No newline at end of file
+</script:module>
diff --git a/wizards/source/sfdialogs/SF_Register.xba b/wizards/source/sfdialogs/SF_Register.xba
index dba36894abf9..c1021fa8552d 100644
--- a/wizards/source/sfdialogs/SF_Register.xba
+++ b/wizards/source/sfdialogs/SF_Register.xba
@@ -220,7 +220,7 @@ Public Function _NewDialog(Optional ByVal pvArgs As Variant) As Object
 '	Args:
 '''		Container: either "GlobalScope" or a WindowName. Default = the active window
 '''					see the definition of WindowName in the description of the UI service
-'''		Library: the name of the library hosting the dialog. Defailt = "Standard"
+'''		Library: the name of the library hosting the dialog. Default = "Standard"
 '''		DialogName: The name of the dialog
 '''			Library and dialog names are case-sensitive
 '''	Returns: the instance or Nothing
@@ -324,4 +324,4 @@ CatchNotFound:
 End Function	'	SFDialogs.SF_Register._NewDialog
 
 REM ============================================== END OF SFDIALOGS.SF_REGISTER
-</script:module>
\ No newline at end of file
+</script:module>
diff --git a/wizards/source/sfdocuments/SF_Base.xba b/wizards/source/sfdocuments/SF_Base.xba
index 166b717919d3..05787fa99a33 100644
--- a/wizards/source/sfdocuments/SF_Base.xba
+++ b/wizards/source/sfdocuments/SF_Base.xba
@@ -62,7 +62,7 @@ Private _Database				As Object		'	SFDatabases.Database service instance
 
 REM ============================================================ MODULE CONSTANTS
 
-REM ===================================================== CONSTRUCTOR/DESCTRUCTOR
+REM ===================================================== CONSTRUCTOR/DESTRUCTOR
 
 REM -----------------------------------------------------------------------------
 Private Sub Class_Initialize()
@@ -461,4 +461,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_Calc.xba b/wizards/source/sfdocuments/SF_Calc.xba
index 5c897e2dbd14..892d7268ad5f 100644
--- a/wizards/source/sfdocuments/SF_Calc.xba
+++ b/wizards/source/sfdocuments/SF_Calc.xba
@@ -110,12 +110,12 @@ REM ============================================================ MODULE CONSTANT
 Private Const cstSHEET			= 1
 Private Const cstRANGE			= 2
 
-Private Const MAXCOLS			= 2^10					'	Max number of colums in a sheet
+Private Const MAXCOLS			= 2^10					'	Max number of columns in a sheet
 Private Const MAXROWS			= 2^20					'	Max number of rows in a sheet
 
 Private Const CALCREFERENCE		= "SF_CalcReference"	'	Object type of _Address
 
-REM ===================================================== CONSTRUCTOR/DESCTRUCTOR
+REM ===================================================== CONSTRUCTOR/DESTRUCTOR
 
 REM -----------------------------------------------------------------------------
 Private Sub Class_Initialize()
@@ -1014,7 +1014,7 @@ Public Function ImportFromCSVFile(Optional ByVal FileName As Variant _
 								, Optional ByVal FilterOptions As Variant _
 								) As String
 ''' Import the content of a CSV-formatted text file starting from a given cell
-'''	Beforehands the destination area will be cleared from any content and format
+'''	Beforehand the destination area will be cleared from any content and format
 '''	Args:
 '''		FileName: Identifies the file to open. It must follow the SF_FileSystem.FileNaming notation
 '''		DestinationCell: the destination of the copied range of cells, as a string
@@ -1090,7 +1090,7 @@ Public Sub ImportFromDatabase(Optional ByVal FileName As Variant _
 								)
 ''' Import the content of a database table, query or resultset, i.e. the result of a SELECT SQL command,
 '''	starting from a given cell
-'''	Beforehands the destination area will be cleared from any content and format
+'''	Beforehand the destination area will be cleared from any content and format
 '''	The modified area depends only on the content of the source data
 '''	Args:
 '''		FileName: Identifies the file to open. It must follow the SF_FileSystem.FileNaming notation
@@ -2139,7 +2139,7 @@ REM ----------------------------------------------------------------------------
 Public Function _ConvertFromDataArray(ByRef pvDataArray As Variant) As Variant
 '''	Convert a data array to a scalar, a vector or a 2D array
 '''	Args:
-'''		pvDataArray: an array as returned by the XCellRange.getDatArray or .getFormulaArray methods
+'''		pvDataArray: an array as returned by the XCellRange.getDataArray or .getFormulaArray methods
 '''	Returns:
 '''		A scalar, a zero-based 1D array or a zero-based 2D array of strings and/or doubles
 '''		To convert doubles to dates, use the CDate builtin function
@@ -2502,7 +2502,7 @@ Private Function _ParseAddress(ByVal psAddress As String) As Object
 '''	Returns:
 '''		An object of type _Address
 '''	Exceptions:
-'''		CALCADDRESSERROR		'	Adrress could not be parsed to a valid address
+'''		CALCADDRESSERROR		'	Address could not be parsed to a valid address
 
 Dim oAddress As _Address			'	Return value
 Dim lStart As Long					'	Position of found regex
@@ -2840,4 +2840,4 @@ CatchDuplicate:
 End Function	'	SFDocuments.SF_Calc._ValidateSheet
 
 REM ============================================ END OF SFDOCUMENTS.SF_CALC
-</script:module>
\ No newline at end of file
+</script:module>
diff --git a/wizards/source/sfdocuments/SF_Document.xba b/wizards/source/sfdocuments/SF_Document.xba
index 151ecd3e03d5..a9fd48af0424 100644
--- a/wizards/source/sfdocuments/SF_Document.xba
+++ b/wizards/source/sfdocuments/SF_Document.xba
@@ -74,7 +74,7 @@ Private _CustomProperties		As Object		'	Dictionary of custom properties
 
 REM ============================================================ MODULE CONSTANTS
 
-REM ===================================================== CONSTRUCTOR/DESCTRUCTOR
+REM ===================================================== CONSTRUCTOR/DESTRUCTOR
 
 REM -----------------------------------------------------------------------------
 Private Sub Class_Initialize()


More information about the Libreoffice-commits mailing list