diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-11-10 15:06:28 +0100 |
---|---|---|
committer | Bjoern Kirchhoff <Bjoern.Kirchhoff@escriba.de> | 2020-11-11 07:52:25 +0100 |
commit | 6d5a4c40b617c8e4474af43ad4e46c5a3d415922 (patch) | |
tree | 067770f36e95ee855c493b7227f36ff9c9389cf2 | |
parent | f3b52717e85621d3b4ee1c6d69700e2a0cca8efc (diff) |
Fix typos
Change-Id: Ice850a7929c5b88ca0c4da52504aa959aacd1024
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105548
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Bjoern Kirchhoff <Bjoern.Kirchhoff@escriba.de>
-rw-r--r-- | sc/qa/unit/scshapetest.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/fields/usrfld.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sc/qa/unit/scshapetest.cxx b/sc/qa/unit/scshapetest.cxx index 279c9be43eda..b04db32a6599 100644 --- a/sc/qa/unit/scshapetest.cxx +++ b/sc/qa/unit/scshapetest.cxx @@ -129,7 +129,7 @@ void ScShapeTest::testLoadVerticalFlip() void ScShapeTest::testTdf117948_CollapseBeforeShape() { - // The document contains a column group left from the image. The group is exanded. Collapse the + // The document contains a column group left from the image. The group is expanded. Collapse the // group, save and reload. The original error was, that the line was on wrong position after reload. // After the fix for 'resive with cell', the custom shape had wrong position and size too. OUString aFileURL; @@ -168,7 +168,7 @@ void ScShapeTest::testTdf117948_CollapseBeforeShape() 1); tools::Rectangle aSnapRect1Collapse = pObj1->GetSnapRect(); tools::Rectangle aExpectedRect1(Point(5647, 4172), Size(21, 3441)); - lcl_AssertRectEqualWithTolerance("Collape: Line", aExpectedRect1, aSnapRect1Collapse, 1); + lcl_AssertRectEqualWithTolerance("Collapse: Line", aExpectedRect1, aSnapRect1Collapse, 1); // Save and reload saveAndReload(xComponent, "calc8"); diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index a70ca9372e10..41896b264955 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -3513,7 +3513,7 @@ void ScXMLExport::WriteShapes(const ScMyCell& rMyCell) aRectFull.Top() - aRectReduced.Top()); pObj->TRSetBaseGeometry(aMatrixFull, aPolyPolygonOrig); } - // ToDo: Adapt object shew and rotation to bHiddenAsZero=false, tdf#137033 + // ToDo: Adapt object skew and rotation to bHiddenAsZero=false, tdf#137033 // We only write the end address if we want the shape to resize with the cell if ( rShape.bResizeWithCell && diff --git a/sw/source/core/fields/usrfld.cxx b/sw/source/core/fields/usrfld.cxx index 9730c5afe722..07a75a42608f 100644 --- a/sw/source/core/fields/usrfld.cxx +++ b/sw/source/core/fields/usrfld.cxx @@ -246,7 +246,7 @@ double SwUserFieldType::GetValue( SwCalc& rCalc ) LanguageTag aCharClassLanguage = pCharClass->getLanguageTag(); LanguageTag aContentLang(m_aContentLang); - // for the call of calulate we need the language that was used for putting/setting + // for the call of calculate we need the language that was used for putting/setting // the m_aContent string, otherwise the aContent could be interpreted wrongly, bool bSwitchLanguage = m_aContentLang != aCharClassLanguage.getBcp47(); @@ -256,7 +256,7 @@ double SwUserFieldType::GetValue( SwCalc& rCalc ) m_nValue = rCalc.Calculate( m_aContent ).GetDouble(); - // we than have to set the propper char class languageTag again + // we than have to set the proper char class languageTag again if (bSwitchLanguage) pCharClass->setLanguageTag(aCharClassLanguage); |