framework/source/services/autorecovery.cxx | 2 +- include/i18nutil/calendar.hxx | 2 +- oox/source/drawingml/diagram/diagramhelper.cxx | 2 +- oox/source/drawingml/shape.cxx | 2 +- sc/source/ui/view/gridwin.cxx | 2 +- sd/qa/unit/export-tests-ooxml2.cxx | 2 +- svx/source/dialog/srchdlg.cxx | 2 +- sw/qa/extras/odfimport/odfimport.cxx | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
New commits: commit 2c5d4436f05ee99cf6937940f2010edf90e7f9e9 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Tue Mar 1 17:45:59 2022 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Tue Mar 1 19:22:40 2022 +0100 Fix typos Change-Id: I9a98bac7c570f25ff7d77df98e93aaeed2665038 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130720 Tested-by: Julien Nabet <serval2...@yahoo.fr> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index e63c13073a90..bede4be05682 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -107,7 +107,7 @@ namespace { /** @short hold all needed information for an asynchronous dispatch alive. @descr Because some operations are forced to be executed asynchronously - (e.g. requested by our CreashSave/Recovery dialog) ... we must make sure + (e.g. requested by our CrashSave/Recovery dialog) ... we must make sure that this information won't be set as "normal" members of our AutoRecovery instance. Otherwise they can disturb our normal AutoSave-timer handling. e.g. it can be unclear then, which progress has to be used for storing documents... diff --git a/include/i18nutil/calendar.hxx b/include/i18nutil/calendar.hxx index 26c7d72d1822..86a5beacd96d 100644 --- a/include/i18nutil/calendar.hxx +++ b/include/i18nutil/calendar.hxx @@ -12,7 +12,7 @@ namespace i18nutil { /** This number shows month days without Jan and Feb. - * According to the article, it is calcuated as (365-31-28)/10 = 30.6, but because + * According to the article, it is calculated as (365-31-28)/10 = 30.6, but because * of a floating point bug, it was used as 30.6001 as a workaround. * * "30.6001, 25 year old hack?" diff --git a/oox/source/drawingml/diagram/diagramhelper.cxx b/oox/source/drawingml/diagram/diagramhelper.cxx index 268c7bb43f71..6e24a955767d 100644 --- a/oox/source/drawingml/diagram/diagramhelper.cxx +++ b/oox/source/drawingml/diagram/diagramhelper.cxx @@ -184,7 +184,7 @@ void AdvancedDiagramHelper::doAnchor(SdrObjGroup& rTarget) if(pParentShape) { - // The oox::Shapes childs are not needed for holding the original data, + // The oox::Shapes children are not needed for holding the original data, // free that memory pParentShape->getChildren().clear(); } diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index bd69137003ec..243a172e6e75 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -254,7 +254,7 @@ void Shape::migrateDiagramHelperToNewShape(ShapePtr& pTarget) if(pTarget->mpDiagramHelper) { - // this should no happen, bu if there is already a helper, clean it up + // this should no happen, but if there is already a helper, clean it up delete pTarget->mpDiagramHelper; pTarget->mpDiagramHelper = nullptr; } diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index d92d2109cdd1..467649c9f2cf 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -3253,7 +3253,7 @@ void ScGridWindow::Command( const CommandEvent& rCEvt ) if (aPos.Col() >= 0 && (aSpellCheckCell.meType == CELLTYPE_STRING || aSpellCheckCell.meType == CELLTYPE_EDIT)) nColSpellError = aPos.Col(); - // Is there a missspelled word somewhere in the cell? + // Is there a misspelled word somewhere in the cell? // A "yes" does not mean that the word under the mouse pointer is wrong though. bSpellError = (mpSpellCheckCxt->isMisspelled(nColSpellError, nCellY)); } diff --git a/sd/qa/unit/export-tests-ooxml2.cxx b/sd/qa/unit/export-tests-ooxml2.cxx index df29ef09c2d8..1cff1e9f4617 100644 --- a/sd/qa/unit/export-tests-ooxml2.cxx +++ b/sd/qa/unit/export-tests-ooxml2.cxx @@ -1498,7 +1498,7 @@ void SdOOXMLExportTest2::testSmartartRotation2() // clear SmartArt data to check how group shapes with double-rotated children are exported, not smartart // NOTE: Resetting the GrabBag data is a *very* indirect way to reset the SmartArt functionality. - // Since this worked before and there is not (yet?) a better way do do it using UNO API, I added + // Since this worked before and there is not (yet?) a better way to do it using UNO API, I added // code to support this for now uno::Reference<beans::XPropertySet> xShape(getShapeFromPage(0, 0, xDocShRef)); uno::Sequence<beans::PropertyValue> aInteropGrabBag; diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index f2c506c62ba3..1efaa5d8f1ae 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -2004,7 +2004,7 @@ IMPL_LINK_NOARG(SvxSearchDialog, FormatHdl_Impl, weld::Button&, void) if( aOutSet.Count() ) pList->Put( aOutSet ); - PaintAttrText_Impl(); // Set AttributText in GroupBox + PaintAttrText_Impl(); // Set AttributeText in GroupBox } IMPL_LINK_NOARG(SvxSearchDialog, NoFormatHdl_Impl, weld::Button&, void) diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx index 1130f3cce848..b8ebcb490d6c 100644 --- a/sw/qa/extras/odfimport/odfimport.cxx +++ b/sw/qa/extras/odfimport/odfimport.cxx @@ -1331,7 +1331,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf146257) CPPUNIT_TEST_FIXTURE(Test, testTdf146597) { load(mpTestDocumentPath, "tdf146597.odt"); - // This was creashed before. + // This was crashed before. } CPPUNIT_PLUGIN_IMPLEMENT();