This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new bb2c35da76 Fix spelling (#341)
bb2c35da76 is described below

commit bb2c35da760fe855c6cc5412b96f31be8047961e
Author: John Bampton <[email protected]>
AuthorDate: Mon Mar 31 00:28:31 2025 +1000

    Fix spelling (#341)
    
    * Fix spelling
    
    * Update ignored words list
    
    (cherry picked from commit 97760708d60fc6a9f4c5ad48622892e0dbd6f644)
---
 .../accessibility/awb/view/StateSetView.java       |  2 +-
 main/basegfx/source/polygon/b2dpolygontools.cxx    | 12 ++++++------
 main/dbaccess/source/ui/misc/WColumnSelect.cxx     |  2 +-
 .../source/xslt/export/wordml/ooo2wordml_table.xsl | 22 +++++++++++-----------
 main/sc/source/core/data/column3.cxx               |  2 +-
 main/sc/source/ui/view/tabview.cxx                 |  2 +-
 main/starmath/source/node.cxx                      |  4 ++--
 main/sw/source/core/text/itrform2.cxx              |  2 +-
 .../test/accessibility/ov/StateSetView.java        |  2 +-
 main/ucbhelper/source/provider/resultset.cxx       |  2 +-
 10 files changed, 26 insertions(+), 26 deletions(-)

diff --git 
a/main/accessibility/workben/org/openoffice/accessibility/awb/view/StateSetView.java
 
b/main/accessibility/workben/org/openoffice/accessibility/awb/view/StateSetView.java
index fae20ee91c..9e24591dc2 100644
--- 
a/main/accessibility/workben/org/openoffice/accessibility/awb/view/StateSetView.java
+++ 
b/main/accessibility/workben/org/openoffice/accessibility/awb/view/StateSetView.java
@@ -90,7 +90,7 @@ public class StateSetView
             {
                 super.paintChildren (g);
 
-                // Calculcate the are inside the border.
+                // Calculate the area inside the border.
                 Insets aInsets = getInsets ();
                 Dimension aSize = getSize();
                 Rectangle aWidgetArea = new Rectangle (
diff --git a/main/basegfx/source/polygon/b2dpolygontools.cxx 
b/main/basegfx/source/polygon/b2dpolygontools.cxx
index 4e2fce63be..23c289b843 100644
--- a/main/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/main/basegfx/source/polygon/b2dpolygontools.cxx
@@ -187,7 +187,7 @@ namespace basegfx
                                        B2DCubicBezier aBezier;
                                        
aBezier.setStartPoint(rCandidate.getB2DPoint(0));
                                        
-                                       // perf: try to avoid too many 
realloctions by guessing the result's pointcount
+                                       // perf: try to avoid too many 
reallocations by guessing the result's pointcount
                                        aRetval.reserve(nPointCount*4);
                                        
                                        // add start point (always)
@@ -270,7 +270,7 @@ namespace basegfx
                                        B2DCubicBezier aBezier;
                                        
aBezier.setStartPoint(rCandidate.getB2DPoint(0));
                                        
-                                       // perf: try to avoid too many 
realloctions by guessing the result's pointcount
+                                       // perf: try to avoid too many 
reallocations by guessing the result's pointcount
                                        aRetval.reserve(nPointCount*4);
                                        
                                        // add start point (always)
@@ -343,7 +343,7 @@ namespace basegfx
                                        B2DCubicBezier aBezier;
                                        
aBezier.setStartPoint(rCandidate.getB2DPoint(0));
        
-                                       // perf: try to avoid too many 
realloctions by guessing the result's pointcount
+                                       // perf: try to avoid too many 
reallocations by guessing the result's pointcount
                                        aRetval.reserve(nPointCount*4);
                                        
                                        // add start point (always)
@@ -1178,7 +1178,7 @@ namespace basegfx
                                                if(fTools::more(fCut1, fZero) 
&& fTools::less(fCut1, fOne)
                                                        && 
(!fTools::equalZero(rEdge2Delta.getX()) || 
!fTools::equalZero(rEdge2Delta.getY())))
                                                {
-                                                       // take the mopre 
precise calculation of the two possible
+                                                       // take the more 
precise calculation of the two possible
                                                        
if(fabs(rEdge2Delta.getX()) > fabs(rEdge2Delta.getY()))
                                                        {
                                                                fCut2 = 
(rEdge1Start.getX() + fCut1
@@ -1494,7 +1494,7 @@ namespace basegfx
                                        if(nCount > 1)
                                        {
                                                // these polygons were created 
above, there exists none with less than two points,
-                                               // thus dircet point access 
below is allowed
+                                               // thus direct point access 
below is allowed
                                                const B2DPolygon 
aFirst(pLineTarget->getB2DPolygon(0));
                                                B2DPolygon 
aLast(pLineTarget->getB2DPolygon(nCount - 1));
 
@@ -1516,7 +1516,7 @@ namespace basegfx
                                        if(nCount > 1)
                                        {
                                                // these polygons were created 
above, there exists none with less than two points,
-                                               // thus dircet point access 
below is allowed
+                                               // thus direct point access 
below is allowed
                                                const B2DPolygon 
aFirst(pGapTarget->getB2DPolygon(0));
                                                B2DPolygon 
aLast(pGapTarget->getB2DPolygon(nCount - 1));
 
diff --git a/main/dbaccess/source/ui/misc/WColumnSelect.cxx 
b/main/dbaccess/source/ui/misc/WColumnSelect.cxx
index 6026941ed9..02af5f0ba9 100644
--- a/main/dbaccess/source/ui/misc/WColumnSelect.cxx
+++ b/main/dbaccess/source/ui/misc/WColumnSelect.cxx
@@ -386,7 +386,7 @@ void OWizColumnSelect::moveColumn(  ListBox* _pRight,
 }
 // 
-----------------------------------------------------------------------------
 // Simply returning fields back to their original position is
-// not enough. We need to take into acccount what fields have
+// not enough. We need to take into account what fields have
 // been removed earlier and adjust accordingly. Based on the 
 // algorithm employed in moveColumn().
 sal_uInt16 OWizColumnSelect::adjustColumnPosition( ListBox* _pLeft,
diff --git a/main/filter/source/xslt/export/wordml/ooo2wordml_table.xsl 
b/main/filter/source/xslt/export/wordml/ooo2wordml_table.xsl
index 16c743112e..0299936d97 100644
--- a/main/filter/source/xslt/export/wordml/ooo2wordml_table.xsl
+++ b/main/filter/source/xslt/export/wordml/ooo2wordml_table.xsl
@@ -103,7 +103,7 @@
                 <xsl:if test="@table:is-sub-table ='true' ">
                     <w:tblW w:type="dxa">
                         <xsl:variable name="sub-table-width">
-                            <xsl:call-template name="caculate-sub-table-width">
+                            <xsl:call-template 
name="calculate-sub-table-width">
                                 <xsl:with-param name="sub-table-column-node" 
select="table:table-column[1]"/>
                                 <xsl:with-param name="total-sub-table-width" 
select="0"/>
                             </xsl:call-template>
@@ -142,7 +142,7 @@
             <w:p/>
         </xsl:if>
     </xsl:template>
-    <xsl:template name="caculate-sub-table-width">
+    <xsl:template name="calculate-sub-table-width">
         <xsl:param name="sub-table-column-node"/>
         <xsl:param name="total-sub-table-width"/>
         <xsl:variable name="column-width" select="key('table-column-style', 
$sub-table-column-node/@table:style-name)/style:table-column-properties/@style:column-width"/>
@@ -155,13 +155,13 @@
             <xsl:when 
test="$sub-table-column-node/following-sibling::table:table-column">
                 <xsl:choose>
                     <xsl:when 
test="$sub-table-column-node/@table:number-columns-repeated">
-                        <xsl:call-template name="caculate-sub-table-width">
+                        <xsl:call-template name="calculate-sub-table-width">
                             <xsl:with-param name="sub-table-column-node" 
select="$sub-table-column-node/following-sibling::table:table-column[ 1]"/>
                             <xsl:with-param name="total-sub-table-width" 
select="$total-sub-table-width + $column-width-in-twip *  
$sub-table-column-node/@table:number-columns-repeated"/>
                         </xsl:call-template>
                     </xsl:when>
                     <xsl:otherwise>
-                        <xsl:call-template name="caculate-sub-table-width">
+                        <xsl:call-template name="calculate-sub-table-width">
                             <xsl:with-param name="sub-table-column-node" 
select="$sub-table-column-node/following-sibling::table:table-column[1]"/>
                             <xsl:with-param name="total-sub-table-width" 
select="$total-sub-table-width + $column-width-in-twip "/>
                         </xsl:call-template>
@@ -234,12 +234,12 @@
     <xsl:template match="table:table-cell ">
         <xsl:element name="w:tc">
             <xsl:element name="w:tcPr">
-                <!-- to caclate the table-cell width Gary.Yang -->
+                <!-- to calculate the table-cell width Gary.Yang -->
                 <xsl:choose>
                     <!--when the table-cell  contains the sub-table -->
                     <xsl:when test="table:table/@table:is-sub-table= 'true' ">
                         <xsl:variable name="table-cell-width">
-                            <xsl:call-template name="caculate-sub-table-width">
+                            <xsl:call-template 
name="calculate-sub-table-width">
                                 <xsl:with-param name="sub-table-column-node" 
select="table:table/table:table-column[1]"/>
                                 <xsl:with-param name="total-sub-table-width" 
select="0"/>
                             </xsl:call-template>
@@ -251,7 +251,7 @@
                     <xsl:otherwise>
                         <!-- when the table-cell doesn't contain the sub-table 
-->
                         <xsl:variable name="table-cell-width">
-                            <xsl:call-template 
name="caculate-table-cell-width">
+                            <xsl:call-template 
name="calculate-table-cell-width">
                                 <xsl:with-param name="table-cell-position" 
select="position()"/>
                                 <xsl:with-param name="table-column" 
select="ancestor::table:table[1]/table:table-column[1]"/>
                             </xsl:call-template>
@@ -359,7 +359,7 @@
             <xsl:apply-templates select=" text:p | table:table | text:h | 
office:annotation"/>
         </xsl:element>
     </xsl:template>
-    <xsl:template name="caculate-table-cell-width">
+    <xsl:template name="calculate-table-cell-width">
         <xsl:param name="table-cell-position"/>
         <xsl:param name="table-column"/>
         <xsl:choose>
@@ -375,7 +375,7 @@
                         <xsl:value-of select="$table-cell-width-in-twip"/>
                     </xsl:when>
                     <xsl:otherwise>
-                        <xsl:call-template name="caculate-table-cell-width">
+                        <xsl:call-template name="calculate-table-cell-width">
                             <xsl:with-param name="table-cell-position" 
select="$table-cell-position - $table-column/@table:number-columns-repeated"/>
                             <xsl:with-param name="table-column" 
select="$table-column/following-sibling::table:table-column[1]"/>
                         </xsl:call-template>
@@ -395,14 +395,14 @@
                         <xsl:value-of select="$table-cell-width-in-twip"/>
                     </xsl:when>
                     <xsl:when test="($table-cell-position - 1) &gt; 0">
-                        <xsl:call-template name="caculate-table-cell-width">
+                        <xsl:call-template name="calculate-table-cell-width">
                             <xsl:with-param name="table-cell-position" 
select=" $table-cell-position - 1 "/>
                             <xsl:with-param name="table-column" 
select="$table-column/following-sibling::table:table-column[1]"/>
                         </xsl:call-template>
                     </xsl:when>
                     <xsl:otherwise>
                         <xsl:message>
-                            <xsl:value-of select=" 'caculate table cell width 
wrong ' "/>
+                            <xsl:value-of select=" 'calculate table cell width 
wrong ' "/>
                         </xsl:message>
                     </xsl:otherwise>
                 </xsl:choose>
diff --git a/main/sc/source/core/data/column3.cxx 
b/main/sc/source/core/data/column3.cxx
index f123b8caec..cfd3f16c2c 100644
--- a/main/sc/source/core/data/column3.cxx
+++ b/main/sc/source/core/data/column3.cxx
@@ -522,7 +522,7 @@ void ScColumn::DeleteRange( SCSIZE nStartIndex, SCSIZE 
nEndIndex, sal_uInt16 nDe
 
     // *** delete all formula cells ***
 
-       // first, all cells stop listening, may save unneeded recalcualtions
+       // first, all cells stop listening, may save unneeded recalculations
        for ( FormulaCellVector::iterator aIt = aDelCells.begin(), aEnd = 
aDelCells.end(); aIt != aEnd; ++aIt )
                (*aIt)->EndListeningTo( pDocument );
 
diff --git a/main/sc/source/ui/view/tabview.cxx 
b/main/sc/source/ui/view/tabview.cxx
index cb8e3ffec2..fe090b6097 100644
--- a/main/sc/source/ui/view/tabview.cxx
+++ b/main/sc/source/ui/view/tabview.cxx
@@ -1278,7 +1278,7 @@ IMPL_LINK( ScTabView, ScrollHdl, ScrollBar*, pScroll )
             /*  Convert scrollbar mouse position to screen position. If RTL
                 mode of scrollbar differs from RTL mode of its parent, then the
                 direct call to Window::OutputToNormalizedScreenPixel() will
-                give unusable results, because calcualtion of screen position
+                give unusable results, because calculation of screen position
                 is based on parent orientation and expects equal orientation of
                 the child position. Need to mirror mouse position before. */
             Point aMousePos = pScroll->GetPointerPosPixel();
diff --git a/main/starmath/source/node.cxx b/main/starmath/source/node.cxx
index a1a59c9d3b..451ae88846 100644
--- a/main/starmath/source/node.cxx
+++ b/main/starmath/source/node.cxx
@@ -2615,7 +2615,7 @@ void SmMatrixNode::Arrange(const OutputDevice &rDev, 
const SmFormat &rFormat)
         }
     }
 
-       // norm distance from which the following two are calcutated
+       // norm distance from which the following two are calculated
        const int  nNormDist = 3 * GetFont().GetSize().Height();
 
        // define horizontal and vertical minimal distances that separate
@@ -2650,7 +2650,7 @@ void SmMatrixNode::Arrange(const OutputDevice &rDev, 
const SmFormat &rFormat)
             const SmNode *pCoNode   = pTmpNode->GetLeftMost();
             RectHorAlign  eHorAlign = pCoNode->GetRectHorAlign();
 
-                       // caculate horizontal position of element depending on 
column
+                       // calculate horizontal position of element depending 
on column
                        // and horizontal alignment
                        switch (eHorAlign)
                        {       case RHA_LEFT:
diff --git a/main/sw/source/core/text/itrform2.cxx 
b/main/sw/source/core/text/itrform2.cxx
index 3876169aac..f103e39ab0 100644
--- a/main/sw/source/core/text/itrform2.cxx
+++ b/main/sw/source/core/text/itrform2.cxx
@@ -1578,7 +1578,7 @@ xub_StrLen SwTxtFormatter::FormatLine( const xub_StrLen 
nStartPos )
         pCurr->CalcLine( *this, GetInfo() );
                CalcRealHeight( GetInfo().IsNewLine() );
 
-               //Bug 120864:For Special case that at the first caculation 
couldn't get correct height. And need to recaculate for the right height.
+               //Bug 120864:For Special case that at the first calculation 
couldn't get correct height. And need to recalculate for the right height.
                SwLinePortion* pPorTmp = pCurr->GetPortion();
                if ( IsFlyInCntBase() && (!IsQuick() || (pPorTmp && 
pPorTmp->IsFlyCntPortion() && !pPorTmp->GetPortion() &&
                        pCurr->Height() > pPorTmp->Height())))
diff --git a/main/toolkit/test/accessibility/ov/StateSetView.java 
b/main/toolkit/test/accessibility/ov/StateSetView.java
index b7a38b183b..6d5b52dbfe 100644
--- a/main/toolkit/test/accessibility/ov/StateSetView.java
+++ b/main/toolkit/test/accessibility/ov/StateSetView.java
@@ -162,7 +162,7 @@ public class StateSetAllView
         {
             super.paintChildren (g);
 
-            // Calculcate the are inside the border.
+            // Calculate the area inside the border.
             Insets aInsets = getInsets ();
             Dimension aSize = getSize();
             Rectangle aWidgetArea = new Rectangle (
diff --git a/main/ucbhelper/source/provider/resultset.cxx 
b/main/ucbhelper/source/provider/resultset.cxx
index 6b1f70ebf6..beba3fabd9 100644
--- a/main/ucbhelper/source/provider/resultset.cxx
+++ b/main/ucbhelper/source/provider/resultset.cxx
@@ -571,7 +571,7 @@ sal_Bool SAL_CALL ResultSet::absolute( sal_Int32 row )
 
        If the given row number is negative, the cursor moves to an absolute row
        position with respect to the end of the result set. For example, calling
-       absolaute( -1 ) positions the cursor on the last row, absolaute( -2 )
+       absolute( -1 ) positions the cursor on the last row, absolute( -2 )
        indicates the next-to-last row, and so on.
 
        An attempt to position the cursor beyond the first/last row in the 
result

Reply via email to