summaryrefslogtreecommitdiff
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
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>
-rw-r--r--sc/qa/unit/scshapetest.cxx4
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx2
-rw-r--r--sc/source/ui/view/tabview3.cxx2
-rw-r--r--wizards/source/sfdocuments/SF_FormControl.xba6
4 files changed, 7 insertions, 7 deletions
diff --git a/sc/qa/unit/scshapetest.cxx b/sc/qa/unit/scshapetest.cxx
index 6d8fa9f1f09a..e2f215cd2b03 100644
--- a/sc/qa/unit/scshapetest.cxx
+++ b/sc/qa/unit/scshapetest.cxx
@@ -233,7 +233,7 @@ void ScShapeTest::testTdf137082_LTR_to_RTL()
void ScShapeTest::testTdf137082_RTL_cell_anchored()
{
// Error was, that cell anchored custom shapes wrote wrong offsets to file and thus were wrong on
- // reloading. The file contains one custome shape with "resize" and another one without.
+ // reloading. The file contains one custom shape with "resize" and another one without.
OUString aFileURL;
createFileURL(u"tdf137082_RTL_cell_anchored.ods", aFileURL);
uno::Reference<css::lang::XComponent> xComponent = loadFromDesktop(aFileURL);
@@ -618,7 +618,7 @@ void ScShapeTest::testTdf137576_LogicRectInNewMeasureline()
void ScShapeTest::testMeasurelineHideColSave()
{
- // The document contains a SdrMeasureObj anchored "To Cell (resive with cell)" with start in cell
+ // The document contains a SdrMeasureObj anchored "To Cell (resize with cell)" with start in cell
// D11 and end in cell I5. Error was, that after hiding col A and saving, start and end point
// position were lost.
OUString aFileURL;
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index a7a61365a08c..0e07542dcbd4 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -3603,7 +3603,7 @@ void ScXMLExport::WriteShapes(const ScMyCell& rMyCell)
if (pObj && bNegativePage
&& rShape.xShape->getShapeType() == "com.sun.star.drawing.MeasureShape")
{
- // invers of shift when import
+ // inverse of shift when import
tools::Rectangle aSnapRect = pObj->GetSnapRect();
aPoint.X = aSnapRect.Left() + aSnapRect.Right() - aPoint.X;
}
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index ba73413c7fc2..98b50f763ffd 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -516,7 +516,7 @@ void ScTabView::CellContentChanged()
rBindings.Invalidate( SID_HYPERLINK_GETLINK );
rBindings.Invalidate( SID_ROWCOL_SELCOUNT );
- InvalidateAttribs(); // attribut updates
+ InvalidateAttribs(); // attributes updates
aViewData.GetViewShell()->UpdateInputHandler();
}
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))