diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-02-03 11:44:13 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-02-03 21:03:16 +0100 |
commit | 4ab47c811f96846f9192fc94429bf8070a0cef9f (patch) | |
tree | 2012db229b67c8b119b8072c358a58036e177f5c | |
parent | 183c06fc02a50fb117bb6162e4d6e56cdd34fad1 (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.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabview3.cxx | 2 | ||||
-rw-r--r-- | wizards/source/sfdocuments/SF_FormControl.xba | 6 |
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 ' SFDocuments.SF_FormControl._Initialize REM ----------------------------------------------------------------------------- Private Function _ListboxBound() As Boolean -''' Return True if te actual control, which is a listbox, has a bound column +''' Return True if the actual control, which is a listbox, has a bound column ''' Called before setting the value of a listbox, i.e. the value to be rewritten in the underlying table data ''' The existence of a bound column is derived from the comparison between StringItemList and ValueItemList ''' String ... : the strings displayed in the list box @@ -1426,7 +1426,7 @@ Const cstSubArgs = "" If oSession.HasUnoProperty(_ControlModel, "StringItemList") And oSession.HasUnoProperty(_ControlModel, "SelectedItems") _ And oSession.HasUnoProperty(_ControlModel, "MultiSelection") Then vSelection = _ControlModel.SelectedItems - ' The list of allowed values depends on the exisence of a bound column + ' 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 = "Value" If oSession.HasUnoProperty(_ControlModel, "StringItemList") And oSession.HasUnoProperty(_ControlModel, "SelectedItems") Then ' Setting the value on a listbox is allowed only if single value and value in the list If Not ScriptForge.SF_Utils._Validate(pvValue, "Value", Array(V_STRING, ScriptForge.V_NUMERIC)) Then GoTo Finally - ' The list of allowed values depends on the exisence of a bound column + ' 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, "Value", , vList) Then GoTo Finally _ControlModel.SelectedItems = Array(ScriptForge.SF_Array.IndexOf(vList, pvValue, CaseSensitive := True)) |