This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 885c11e542 Fix spelling (#298)
885c11e542 is described below
commit 885c11e5424126fb2645de7dded95aa25db8b008
Author: John Bampton <[email protected]>
AuthorDate: Fri Feb 28 01:59:01 2025 +1000
Fix spelling (#298)
* Fix spelling
* Update ignored words list
* Update spreadsheetml2ooo.xsl
---------
Co-authored-by: Matthias Seidel <[email protected]>
---
.github/linters/codespell.txt | 8 --------
main/extensions/source/macosx/spotlight/unzip.m | 4 ++--
.../source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl | 14 +++++++-------
main/offapi/com/sun/star/chart2/DataPointProperties.idl | 2 +-
main/offapi/com/sun/star/chart2/FillBitmap.idl | 4 ++--
main/offapi/com/sun/star/drawing/FillProperties.idl | 2 +-
main/sc/source/ui/view/output2.cxx | 2 +-
main/svx/source/form/navigatortree.cxx | 2 +-
main/sw/source/core/layout/tabfrm.cxx | 4 ++--
main/vcl/source/gdi/pdfwriter_impl.hxx | 2 +-
10 files changed, 18 insertions(+), 26 deletions(-)
diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt
index 7c0ecfd7c7..61733061ba 100644
--- a/.github/linters/codespell.txt
+++ b/.github/linters/codespell.txt
@@ -2442,7 +2442,6 @@ ojects
oktober
oldes
oll
-olny
olt
oly
ommit
@@ -2552,7 +2551,6 @@ pallette
paoition
paragaph
paragaphs
-paragaraph
paragarph
paragph
paragrah
@@ -3390,12 +3388,7 @@ stript
stronly
strotage
struc
-structer
-structore
-structue
structur
-strucure
-strucutre
struture
stting
styhe
@@ -3839,7 +3832,6 @@ willl
windo
wirh
wit
-witdh
withing
withion
witho
diff --git a/main/extensions/source/macosx/spotlight/unzip.m
b/main/extensions/source/macosx/spotlight/unzip.m
index e4902c8806..6d439f6b76 100644
--- a/main/extensions/source/macosx/spotlight/unzip.m
+++ b/main/extensions/source/macosx/spotlight/unzip.m
@@ -140,7 +140,7 @@ typedef struct
uLong rest_read_compressed; /* number of byte to be decompressed */
uLong rest_read_uncompressed;/*number of byte to be obtained after decomp*/
zlib_filefunc_def z_filefunc;
- voidpf filestream; /* io structore of the zipfile */
+ voidpf filestream; /* io structure of the zipfile */
uLong compression_method; /* compression method (0==store) */
uLong byte_before_the_zipfile;/* byte before the zipfile, (>0 for sfx)*/
int raw;
@@ -152,7 +152,7 @@ typedef struct
typedef struct
{
zlib_filefunc_def z_filefunc;
- voidpf filestream; /* io structore of the zipfile */
+ voidpf filestream; /* io structure of the zipfile */
unz_global_info gi; /* public global information */
uLong byte_before_the_zipfile;/* byte before the zipfile, (>0 for sfx)*/
uLong num_file; /* number of the current file in the zipfile*/
diff --git a/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
b/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
index d8954f148e..487ce24edc 100644
--- a/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
+++ b/main/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl
@@ -4348,7 +4348,7 @@
</xsl:choose>
</xsl:if>
<!-- fix means the horizontal alignment is dependent on
ss:Horizontal,
- but set on paragaraph properties not cell
paragraphs -->
+ but set on paragraph properties not cell
paragraphs -->
<xsl:if test="ss:Alignment/@ss:Horizontal">
<xsl:attribute
name="style:text-align-source">fix</xsl:attribute>
</xsl:if>
@@ -5079,7 +5079,7 @@
</xsl:call-template>
<xsl:text>cm</xsl:text>
</xsl:when>
- <!-- Note: This is the default row hight value
in spec it is written 255 point, this seems wrong -->
+ <!-- Note: This is the default row height value
in spec it is written 255 point, this seems wrong -->
<!-- <xsl:otherwise>0.503cm</xsl:otherwise> -->
<xsl:otherwise>0.45cm</xsl:otherwise>
</xsl:choose>
@@ -6364,7 +6364,7 @@
<xsl:when test="../@ss:StyleID">
<xsl:value-of
select="../@ss:StyleID"/>
</xsl:when>
- <!-- if no correspondent column
style exisit.. -->
+ <!-- if no corresponding column
style exists... -->
<!-- inherit style from parent
table style -->
<xsl:when
test="../../@ss:StyleID">
<!-- function to give
in col-pos and get back column style -->
@@ -6787,7 +6787,7 @@
<xsl:value-of
select="../@ss:StyleID"/>
</xsl:attribute>
</xsl:when>
- <!-- if no correspondent column style
exisit.. -->
+ <!-- if no corresponding column style
exists... -->
<!-- inherit style from parent table
style -->
<xsl:when test="../../@ss:StyleID">
<!-- function to give in
col-pos and get back column style -->
@@ -7057,7 +7057,7 @@
</xsl:if>
</xsl:template>
<xsl:template name="validation-row-column-string">
- <!-- returns a string with structer,including row\column
position by extraction from x:DataValidation -->
+ <!-- returns a string with structure, including row\column
position by extraction from x:DataValidation -->
<xsl:param name="last"/>
<xsl:param name="total"/>
<xsl:param name="index"/>
@@ -7080,7 +7080,7 @@
</xsl:if>
</xsl:template>
<xsl:template name="condition-row-column-string">
- <!-- returns a string with structer,including row\column
position by extraction from x:ConditionalFormatting -->
+ <!-- returns a string with structure, including row\column
position by extraction from x:ConditionalFormatting -->
<xsl:param name="last"/>
<xsl:param name="total"/>
<xsl:param name="index"/>
@@ -7431,7 +7431,7 @@
<xsl:with-param name="current-pos"
select="$current-pos + 1 + $font-size-length"/>
</xsl:call-template>
</xsl:when>
- <!-- dont' consider tangled or adjoined '&X' and '&Y',
'&U' & '&E', processing-check is necessary, too complex. :( -->
+ <!-- don't consider tangled or adjoined '&X' and '&Y',
'&U' & '&E', processing-check is necessary, too complex. :( -->
<xsl:when
test="starts-with($current-style-data,'&X')">
<xsl:variable name="superscript-count-before">
<xsl:call-template
name="get-substyle-count-in-data">
diff --git a/main/offapi/com/sun/star/chart2/DataPointProperties.idl
b/main/offapi/com/sun/star/chart2/DataPointProperties.idl
index 23676bb445..e1528e3767 100644
--- a/main/offapi/com/sun/star/chart2/DataPointProperties.idl
+++ b/main/offapi/com/sun/star/chart2/DataPointProperties.idl
@@ -192,7 +192,7 @@ service DataPointProperties
[property] short FillBitmapOffsetY;
/** Every second line of tiles is moved the given percent of the
- witdh of the bitmap.
+ width of the bitmap.
*/
[property] short FillBitmapPositionOffsetX;
diff --git a/main/offapi/com/sun/star/chart2/FillBitmap.idl
b/main/offapi/com/sun/star/chart2/FillBitmap.idl
index 5db4503926..01a354b6eb 100644
--- a/main/offapi/com/sun/star/chart2/FillBitmap.idl
+++ b/main/offapi/com/sun/star/chart2/FillBitmap.idl
@@ -51,7 +51,7 @@ module star
module chart2
{
-/** This strucutre contains all properties of a bitmap when used as
+/** This structure contains all properties of a bitmap when used as
FillStyle.
@see com::sun::star::drawing::FillProperties
@@ -72,7 +72,7 @@ struct FillBitmap
com::sun::star::awt::Point aOffset;
/** Every second line (X) / row (Y) of tiles is moved the given
- percent of the witdh of the bitmap.
+ percent of the width of the bitmap.
*/
com::sun::star::awt::Point aPositionOffset;
diff --git a/main/offapi/com/sun/star/drawing/FillProperties.idl
b/main/offapi/com/sun/star/drawing/FillProperties.idl
index 423a498741..51906fd0da 100644
--- a/main/offapi/com/sun/star/drawing/FillProperties.idl
+++ b/main/offapi/com/sun/star/drawing/FillProperties.idl
@@ -162,7 +162,7 @@ published service FillProperties
//-------------------------------------------------------------------------
/** Every second line of tiles is moved the given percent of the
- witdh of the bitmap.
+ width of the bitmap.
*/
[property] short FillBitmapOffsetX;
diff --git a/main/sc/source/ui/view/output2.cxx
b/main/sc/source/ui/view/output2.cxx
index 2bdcf54eae..0a3c60d5a7 100644
--- a/main/sc/source/ui/view/output2.cxx
+++ b/main/sc/source/ui/view/output2.cxx
@@ -3301,7 +3301,7 @@ void ScOutputData::DrawRotated(sal_Bool bPixelToLogic)
double nAbsCos
= fabs( nCos );
double nAbsSin
= fabs( nSin );
- // #47740#
adjust witdh of papersize for height of text
+ // #47740#
adjust width of papersize for height of text
int nSteps = 5;
while (nSteps >
0)
{
diff --git a/main/svx/source/form/navigatortree.cxx
b/main/svx/source/form/navigatortree.cxx
index 1012bad82b..2d601193a9 100644
--- a/main/svx/source/form/navigatortree.cxx
+++ b/main/svx/source/form/navigatortree.cxx
@@ -1836,7 +1836,7 @@ namespace svxform
// somewhere). In case I'd first delete the structure, then the
controls, the UNDO would not work
// (since UNDO then would mean to first restore the controls, then the
structure, means their parent
// form). The other way round, the EntryDatas would be invalid, if I'd
first delete the controls and
- // then go on to the strucure. This means I have to delete the forms
*after* the normal controls, so
+ // then go on to the structure. This means I have to delete the forms
*after* the normal controls, so
// that during UNDO, they're restored in the proper order.
pFormShell->GetImpl()->EnableTrackProperties(sal_False);
sal_uInt16 i;
diff --git a/main/sw/source/core/layout/tabfrm.cxx
b/main/sw/source/core/layout/tabfrm.cxx
index ecafb5be3b..b61c2d2e65 100644
--- a/main/sw/source/core/layout/tabfrm.cxx
+++ b/main/sw/source/core/layout/tabfrm.cxx
@@ -4380,7 +4380,7 @@ void SwRowFrm::Format( const SwBorderAttrs *pAttrs )
}
else
{
- // pTmpRow is a first row in the table structue.
+ // pTmpRow is a first row in the table structure.
// We go up in the table structure:
pTmpRow = pTmpRow->GetUpper()->GetUpper() &&
pTmpRow->GetUpper()->GetUpper()->IsRowFrm() ?
@@ -5852,7 +5852,7 @@ SwTwips SwTabFrm::CalcHeightOfFirstContentLine() const
// actually is determined by a lower cell with rowspan = -1. In
this case we should not
// just return the height of the first line. Basically we need to
get the height of the
// line as it would be on the last page. Since this is quite
complicated to calculate,
- // we olny calculate the height of the first line.
+ // we only calculate the height of the first line.
if ( pFirstRow->GetPrev() &&
static_cast<SwRowFrm*>(pFirstRow->GetPrev())->IsRowSpanLine()
)
{
diff --git a/main/vcl/source/gdi/pdfwriter_impl.hxx
b/main/vcl/source/gdi/pdfwriter_impl.hxx
index eb3c0749f9..c7f80d8da8 100644
--- a/main/vcl/source/gdi/pdfwriter_impl.hxx
+++ b/main/vcl/source/gdi/pdfwriter_impl.hxx
@@ -638,7 +638,7 @@ private:
sal_Int32
m_nCurrentStructElement;
/* structure parent tree */
std::vector< rtl::OString > m_aStructParentTree;
- /* emit strucure marks currently (aka. NonStructElement or not)
+ /* emit structure marks currently (aka. NonStructElement or not)
*/
bool
m_bEmitStructure;
bool
m_bNewMCID;