summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2023-11-13 04:39:57 +0100
committerJulien Nabet <serval2412@yahoo.fr>2023-11-13 08:54:37 +0100
commit150cd96bc9c68416a5654a9fcef12e3e9b68ba10 (patch)
tree000ec27b7eb369cdaf6bcf80b00958b2f829b24a /wizards
parent42de667705ed90eb6bb3b9e3308d666e507eddd8 (diff)
Fix typos
Change-Id: I5f6ddc80fb13f7c0b1841cab034539e500353511 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159346 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/source/sfdatabases/SF_Database.xba4
-rw-r--r--wizards/source/sfdatabases/SF_Dataset.xba10
2 files changed, 7 insertions, 7 deletions
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 _
&apos;&apos;&apos; or an SQL SELECT statement.
&apos;&apos;&apos; Args:
&apos;&apos;&apos; SQLCommand: as a case-sensitive string, a table name, a query name
-&apos;&apos;&apos; or a valid SQL SELECT statement. Identifiers may be srrounded
+&apos;&apos;&apos; or a valid SQL SELECT statement. Identifiers may be surrounded
&apos;&apos;&apos; with square brackets
&apos;&apos;&apos; DirectSql: when True, the statement is processed by the targeted RDBMS
&apos;&apos;&apos; Filter: an additional condition that records must match, expressed
@@ -1170,4 +1170,4 @@ Private Function _Repr() As String
End Function &apos; 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
&apos;&apos;&apos; - any SELECT SQL statement may define the dataset.
&apos;&apos;&apos;
&apos;&apos;&apos; The proposed API supports next main purposes:
-&apos;&apos;&apos; - browse for- and backward thru the dataset to get its content
+&apos;&apos;&apos; - browse for- and backward through the dataset to get its content
&apos;&apos;&apos; - update any record with new values
&apos;&apos;&apos; - create new records or delete some.
&apos;&apos;&apos; So-called &quot;CRUD&quot; operations (create, read, update, delete).
@@ -32,7 +32,7 @@ Option Explicit
&apos;&apos;&apos; Service invocation:
&apos;&apos;&apos; A dataset is characterized by
&apos;&apos;&apos; - the parent database
-&apos;&apos;&apos; - a table/query name or an SQL SELECT statemnt
+&apos;&apos;&apos; - a table/query name or an SQL SELECT statement
&apos;&apos;&apos; - the DirectSQL option to bypass the processing of SQL by LibreOffice
&apos;&apos;&apos; - an optional filter
&apos;&apos;&apos; - an optional sorting order
@@ -58,7 +58,7 @@ Option Explicit
&apos;&apos;&apos;
&apos;&apos;&apos; Updates performance:
&apos;&apos;&apos; This module provides methods to update data stored in database tables.
-&apos;&apos;&apos; Note that the proposed Update() and Insert() methods wil always be
+&apos;&apos;&apos; Note that the proposed Update() and Insert() methods will always be
&apos;&apos;&apos; SLOWER or MUCH SLOWER than equivalent SQL statements.
&apos;&apos;&apos; Always privilege SQL when considering massive updates.
&apos;&apos;&apos;
@@ -691,7 +691,7 @@ Public Function Insert(ParamArray pvArgs As Variant) As Long
&apos;&apos;&apos; Returns:
&apos;&apos;&apos; When the primary key is an AutoValue field: the autovalue of the new record
&apos;&apos;&apos; (to facilitate the use of the new primary key in foreign keys)
-&apos;&apos;&apos; Otherwise: 0 (= successful), -1 (= not sucessful)
+&apos;&apos;&apos; Otherwise: 0 (= successful), -1 (= not successful)
&apos;&apos;&apos; Exceptions:
&apos;&apos;&apos; DBREADONLYERROR The actual method cannot be executed
&apos;&apos;&apos; RECORDUPDATEERROR When value to store does not fit the type of the field
@@ -1661,4 +1661,4 @@ CatchError:
End Function &apos; SFDatabases.SF_Dataset._SetColumnValue
REM ============================================ END OF SFDATABASES.SF_DATASET
-</script:module> \ No newline at end of file
+</script:module>