wizards/source/sfdatabases/SF_Database.xba | 4 ++-- wizards/source/sfdatabases/SF_Dataset.xba | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-)
New commits: commit 150cd96bc9c68416a5654a9fcef12e3e9b68ba10 Author: Andrea Gelmini <[email protected]> AuthorDate: Mon Nov 13 04:39:57 2023 +0100 Commit: Julien Nabet <[email protected]> CommitDate: Mon Nov 13 08:54:37 2023 +0100 Fix typos Change-Id: I5f6ddc80fb13f7c0b1841cab034539e500353511 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159346 Tested-by: Julien Nabet <[email protected]> Reviewed-by: Julien Nabet <[email protected]> diff --git a/wizards/source/sfdatabases/SF_Database.xba b/wizards/source/sfdatabases/SF_Database.xba index 50d2e2e41cd3..cf970ea980fc 100644 --- a/wizards/source/sfdatabases/SF_Database.xba +++ b/wizards/source/sfdatabases/SF_Database.xba @@ -164,7 +164,7 @@ Public Function CreateDataset(Optional ByVal SQLCommand As Variant _ ''' or an SQL SELECT statement. ''' Args: ''' SQLCommand: as a case-sensitive string, a table name, a query name -''' or a valid SQL SELECT statement. Identifiers may be srrounded +''' or a valid SQL SELECT statement. Identifiers may be surrounded ''' with square brackets ''' DirectSql: when True, the statement is processed by the targeted RDBMS ''' Filter: an additional condition that records must match, expressed @@ -1170,4 +1170,4 @@ Private Function _Repr() As String End Function ' SFDatabases.SF_Database._Repr REM ============================================ END OF SFDATABASES.SF_DATABASE -</script:module> \ No newline at end of file +</script:module> diff --git a/wizards/source/sfdatabases/SF_Dataset.xba b/wizards/source/sfdatabases/SF_Dataset.xba index e25f714f6ddf..28091d9368b8 100644 --- a/wizards/source/sfdatabases/SF_Dataset.xba +++ b/wizards/source/sfdatabases/SF_Dataset.xba @@ -24,7 +24,7 @@ Option Explicit ''' - any SELECT SQL statement may define the dataset. ''' ''' The proposed API supports next main purposes: -''' - browse for- and backward thru the dataset to get its content +''' - browse for- and backward through the dataset to get its content ''' - update any record with new values ''' - create new records or delete some. ''' So-called "CRUD" operations (create, read, update, delete). @@ -32,7 +32,7 @@ Option Explicit ''' Service invocation: ''' A dataset is characterized by ''' - the parent database -''' - a table/query name or an SQL SELECT statemnt +''' - a table/query name or an SQL SELECT statement ''' - the DirectSQL option to bypass the processing of SQL by LibreOffice ''' - an optional filter ''' - an optional sorting order @@ -58,7 +58,7 @@ Option Explicit ''' ''' Updates performance: ''' This module provides methods to update data stored in database tables. -''' Note that the proposed Update() and Insert() methods wil always be +''' Note that the proposed Update() and Insert() methods will always be ''' SLOWER or MUCH SLOWER than equivalent SQL statements. ''' Always privilege SQL when considering massive updates. ''' @@ -691,7 +691,7 @@ Public Function Insert(ParamArray pvArgs As Variant) As Long ''' Returns: ''' When the primary key is an AutoValue field: the autovalue of the new record ''' (to facilitate the use of the new primary key in foreign keys) -''' Otherwise: 0 (= successful), -1 (= not sucessful) +''' Otherwise: 0 (= successful), -1 (= not successful) ''' Exceptions: ''' DBREADONLYERROR The actual method cannot be executed ''' RECORDUPDATEERROR When value to store does not fit the type of the field @@ -1661,4 +1661,4 @@ CatchError: End Function ' SFDatabases.SF_Dataset._SetColumnValue REM ============================================ END OF SFDATABASES.SF_DATASET -</script:module> \ No newline at end of file +</script:module>
