summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-02-03 11:44:13 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-02-03 21:03:16 +0100
commit4ab47c811f96846f9192fc94429bf8070a0cef9f (patch)
tree2012db229b67c8b119b8072c358a58036e177f5c /wizards
parent183c06fc02a50fb117bb6162e4d6e56cdd34fad1 (diff)
Fix typos
Change-Id: I322b1176c02b33336e4e393e565ad66f43eb42a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110343 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/source/sfdocuments/SF_FormControl.xba6
1 files changed, 3 insertions, 3 deletions
diff --git a/wizards/source/sfdocuments/SF_FormControl.xba b/wizards/source/sfdocuments/SF_FormControl.xba
index d136cb21769b..242f2c0e6405 100644
--- a/wizards/source/sfdocuments/SF_FormControl.xba
+++ b/wizards/source/sfdocuments/SF_FormControl.xba
@@ -1089,7 +1089,7 @@ End Sub &apos; SFDocuments.SF_FormControl._Initialize
REM -----------------------------------------------------------------------------
Private Function _ListboxBound() As Boolean
-&apos;&apos;&apos; Return True if te actual control, which is a listbox, has a bound column
+&apos;&apos;&apos; Return True if the actual control, which is a listbox, has a bound column
&apos;&apos;&apos; Called before setting the value of a listbox, i.e. the value to be rewritten in the underlying table data
&apos;&apos;&apos; The existence of a bound column is derived from the comparison between StringItemList and ValueItemList
&apos;&apos;&apos; String ... : the strings displayed in the list box
@@ -1426,7 +1426,7 @@ Const cstSubArgs = &quot;&quot;
If oSession.HasUnoProperty(_ControlModel, &quot;StringItemList&quot;) And oSession.HasUnoProperty(_ControlModel, &quot;SelectedItems&quot;) _
And oSession.HasUnoProperty(_ControlModel, &quot;MultiSelection&quot;) Then
vSelection = _ControlModel.SelectedItems
- &apos; The list of allowed values depends on the exisence of a bound column
+ &apos; The list of allowed values depends on the existence of a bound column
If _ListBoxBound() Then vList = _ControlModel.ValueItemList Else vList = _ControlModel.StringItemList
If _ControlModel.MultiSelection Then vValues = Array()
For i = 0 To UBound(vSelection)
@@ -1745,7 +1745,7 @@ Const cstSubArgs = &quot;Value&quot;
If oSession.HasUnoProperty(_ControlModel, &quot;StringItemList&quot;) And oSession.HasUnoProperty(_ControlModel, &quot;SelectedItems&quot;) Then
&apos; Setting the value on a listbox is allowed only if single value and value in the list
If Not ScriptForge.SF_Utils._Validate(pvValue, &quot;Value&quot;, Array(V_STRING, ScriptForge.V_NUMERIC)) Then GoTo Finally
- &apos; The list of allowed values depends on the exisence of a bound column
+ &apos; The list of allowed values depends on the existence of a bound column
If _ListboxBound() Then vList = _ControlModel.ValueItemList Else vList = _ControlModel.StringItemList
If Not ScriptForge.SF_Utils._Validate(pvValue, &quot;Value&quot;, , vList) Then GoTo Finally
_ControlModel.SelectedItems = Array(ScriptForge.SF_Array.IndexOf(vList, pvValue, CaseSensitive := True))