From 93f99af8e16aa32c40a5a9b29fff99244c71302b Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 4 Feb 2025 23:51:59 +1000 Subject: [PATCH 1/2] Fix spelling --- main/chart2/source/tools/AxisHelper.cxx | 2 +- main/chart2/source/view/charttypes/PieChart.cxx | 2 +- main/chart2/source/view/charttypes/Splines.cxx | 2 +- main/sc/source/filter/excel/exctools.cxx | 2 +- main/sdext/source/presenter/PresenterPaneBorderPainter.hxx | 2 +- main/svx/source/sdr/contact/objectcontactofpageview.cxx | 2 +- main/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx | 2 +- main/vcl/inc/unx/wmadaptor.hxx | 2 +- main/vcl/unx/generic/app/saldata.cxx | 2 +- main/vcl/unx/gtk/app/gtkdata.cxx | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/main/chart2/source/tools/AxisHelper.cxx b/main/chart2/source/tools/AxisHelper.cxx index 912957fb2a5..ccfd38074dc 100644 --- a/main/chart2/source/tools/AxisHelper.cxx +++ b/main/chart2/source/tools/AxisHelper.cxx @@ -256,7 +256,7 @@ sal_Int32 AxisHelper::getExplicitNumberFormatKeyForAxis( if( nDimensionIndex == 1 ) { - //only take those series into accoutn that are attached to this axis + //only take those series into account that are attached to this axis sal_Int32 nAttachedAxisIndex = DataSeriesHelper::getAttachedAxisIndex(xDataSeries); if( nAttachedAxisIndex != nAxisIndex ) continue; diff --git a/main/chart2/source/view/charttypes/PieChart.cxx b/main/chart2/source/view/charttypes/PieChart.cxx index e588d037356..2967f217677 100644 --- a/main/chart2/source/view/charttypes/PieChart.cxx +++ b/main/chart2/source/view/charttypes/PieChart.cxx @@ -450,7 +450,7 @@ void PieChart::createShapes() } //--------------------------- - //transforme to unit circle: + //transform to unit circle: double fUnitCircleWidthAngleDegree = m_pPosHelper->getWidthAngleDegree( fLogicStartAngleValue, fLogicEndAngleValue ); double fUnitCircleStartAngleDegree = m_pPosHelper->transformToAngleDegree( fLogicStartAngleValue ); double fUnitCircleInnerRadius = m_pPosHelper->transformToRadius( fLogicInnerRadius ); diff --git a/main/chart2/source/view/charttypes/Splines.cxx b/main/chart2/source/view/charttypes/Splines.cxx index d4e87cf5963..3b951b71c50 100644 --- a/main/chart2/source/view/charttypes/Splines.cxx +++ b/main/chart2/source/view/charttypes/Splines.cxx @@ -880,7 +880,7 @@ void SplineCalculater::CalculateBSplines( while ( r !=0 && cc-r < p ) { fEliminate = aMatN[r][ cc - aShift[r] ]; - if ( fEliminate != 0.0) // else element is accidentically zero, no action needed + if ( fEliminate != 0.0) // else element is accidentally zero, no action needed { // row r -= fEliminate * row cc only relevant for right side aMatN[r][cc - aShift[r]] = 0.0; diff --git a/main/sc/source/filter/excel/exctools.cxx b/main/sc/source/filter/excel/exctools.cxx index 8fd6144697d..1f0213f65aa 100644 --- a/main/sc/source/filter/excel/exctools.cxx +++ b/main/sc/source/filter/excel/exctools.cxx @@ -133,7 +133,7 @@ void XclImpOutlineBuffer::SetOutlineArray( ScOutlineArray* pOArray ) } -// transtorm xcl-outline into SC-outline +// transform xcl-outline into SC-outline void XclImpOutlineBuffer::MakeScOutline( void ) { if( !pOutlineArray || !HasOutline() ) diff --git a/main/sdext/source/presenter/PresenterPaneBorderPainter.hxx b/main/sdext/source/presenter/PresenterPaneBorderPainter.hxx index 79c2225f86a..a427cd093e5 100644 --- a/main/sdext/source/presenter/PresenterPaneBorderPainter.hxx +++ b/main/sdext/source/presenter/PresenterPaneBorderPainter.hxx @@ -79,7 +79,7 @@ public: const css::awt::Rectangle& rInnerBox, const css::drawing::framework::BorderType eBorderType) const; - /** Transorm the outer bounding box of a window to the bounding box of + /** Transform the outer bounding box of a window to the bounding box of the inner content area. @param rsPaneURL Specifies the pane style that is used to determine the border sizes. diff --git a/main/svx/source/sdr/contact/objectcontactofpageview.cxx b/main/svx/source/sdr/contact/objectcontactofpageview.cxx index f7e11a726f4..7a5e39f424e 100644 --- a/main/svx/source/sdr/contact/objectcontactofpageview.cxx +++ b/main/svx/source/sdr/contact/objectcontactofpageview.cxx @@ -245,7 +245,7 @@ namespace sdr // if there is something to show, use a primitive processor to render it. There // is a choice between VCL and Canvas processors currently. The decision is made in - // createProcessor2DFromOutputDevice and takes into accout things like the + // createProcessor2DFromOutputDevice and takes into account things like the // Target is a MetaFile, a VDev or something else. The Canvas renderer is triggered // currently using the shown boolean. Canvas is not yet the default. if(xPrimitiveSequence.hasElements()) diff --git a/main/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx b/main/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx index 6db9715cae3..bc5952f6454 100644 --- a/main/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx +++ b/main/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx @@ -275,7 +275,7 @@ namespace sdr // create page content xPageContent = mpExtractor->createPrimitive2DSequenceForPage(rDisplayInfo); - // #i105548# reset VOCRedirector to not accidentially have a pointer to a + // #i105548# reset VOCRedirector to not accidentally have a pointer to a // temporary class, so calls to it are avoided safely mpExtractor->SetViewObjectContactRedirector(0); diff --git a/main/vcl/inc/unx/wmadaptor.hxx b/main/vcl/inc/unx/wmadaptor.hxx index fff58473bb6..c22bb34bfa6 100644 --- a/main/vcl/inc/unx/wmadaptor.hxx +++ b/main/vcl/inc/unx/wmadaptor.hxx @@ -250,7 +250,7 @@ public: * tell whether legacy partial full screen handling is necessary * see #i107249#: NET_WM_STATE_FULLSCREEN is not well defined, but de facto * modern WM's interpret it the "right" way, namely they make "full screen" - * taking twin view or Xinerama into accound and honor the positioning hints + * taking twin view or Xinerama into account and honor the positioning hints * to see which screen actually was meant to use for fullscreen. */ bool isLegacyPartialFullscreen() const diff --git a/main/vcl/unx/generic/app/saldata.cxx b/main/vcl/unx/generic/app/saldata.cxx index 18e865d1ccc..45a6fd53b67 100644 --- a/main/vcl/unx/generic/app/saldata.cxx +++ b/main/vcl/unx/generic/app/saldata.cxx @@ -415,7 +415,7 @@ void SalXLib::Init() { /* * if a -display switch was used, we need - * to set the environment accoringly since + * to set the environment accordingly since * the clipboard build another connection * to the xserver using $DISPLAY */ diff --git a/main/vcl/unx/gtk/app/gtkdata.cxx b/main/vcl/unx/gtk/app/gtkdata.cxx index edaa4f513fc..efa89d45f85 100644 --- a/main/vcl/unx/gtk/app/gtkdata.cxx +++ b/main/vcl/unx/gtk/app/gtkdata.cxx @@ -678,7 +678,7 @@ void GtkXLib::Init() /* * if a -display switch was used, we need - * to set the environment accoringly since + * to set the environment accordingly since * the clipboard build another connection * to the xserver using $DISPLAY */ From ea3ce3c8a873d557d6a34332d3b326f92b7af746 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 4 Feb 2025 23:53:02 +1000 Subject: [PATCH 2/2] Update ignored words list --- .github/linters/codespell.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt index aaf790d019b..9b812fc91c7 100644 --- a/.github/linters/codespell.txt +++ b/.github/linters/codespell.txt @@ -37,14 +37,8 @@ accessbility accessibiliy accessiblity accessort -accidentially -accidentically accociated accoding -accoringly -accound -accout -accoutn accpet accrodingly accssor @@ -3626,11 +3620,9 @@ transfoprmation transforme translteration transmition -transorm transparant transparecy transtion -transtorm trapeziod tre tread