summaryrefslogtreecommitdiff
path: root/sc
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 /sc
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 'sc')
-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
3 files changed, 4 insertions, 4 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();
}