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 e7392536dc Fix spelling (#329)
e7392536dc is described below
commit e7392536dc003722cdc0e2c2af877c3c96913fbe
Author: John Bampton <[email protected]>
AuthorDate: Sun Mar 9 23:44:47 2025 +1000
Fix spelling (#329)
* Fix spelling
* Update ignore words list
(cherry picked from commit d941b70c83dc1cf56dc95264273f8a288e742c24)
---
main/basegfx/test/basegfx2d.cxx | 4 ++--
main/canvas/source/directx/dx_impltools.cxx | 2 +-
.../odf2xhtml/export/common/styles/style_collector.xsl | 18 +++++++++---------
main/oox/source/export/drawingml.cxx | 2 +-
main/qadevOOo/tests/java/ifc/form/_XSubmit.java | 6 +++---
.../examples/java/Newsgroup/PostNewsgroup.java | 2 +-
main/sd/source/filter/eppt/epptso.cxx | 2 +-
main/sd/source/ui/sidebar/MasterPageContainer.cxx | 4 ++--
.../slidesorter/controller/SlsDragAndDropContext.hxx | 2 +-
main/sfx2/source/doc/objserv.cxx | 2 +-
main/sw/source/filter/ww8/wrtw8num.cxx | 2 +-
main/toolkit/source/controls/unocontrols.cxx | 6 +++---
main/unotools/source/config/pathoptions.cxx | 4 ++--
13 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/main/basegfx/test/basegfx2d.cxx b/main/basegfx/test/basegfx2d.cxx
index 64b0ed306f..a5168c7723 100644
--- a/main/basegfx/test/basegfx2d.cxx
+++ b/main/basegfx/test/basegfx2d.cxx
@@ -164,9 +164,9 @@ TEST_F(b2dsvgdimpex,impex)
// The import/export of aPath1 does not reproduce aExport again. This is
// correct since aPath1 contains a segment with non-used control points
// which gets exported now correctly as 'l' and also a point (#4, index
3)
- // with C2 continuity which produces a 's' staement now.
+ // with C2 continuity which produces a 's' statement now.
//
- // The old SVGexport identified nun-used ControlVectors erraneously as
bezier segments
+ // The old SVGexport identified nun-used ControlVectors erroneously as
bezier segments
// because the 2nd vector at the start point was used, even when added
// with start point was identical to end point. Exactly for that reason
// i reworked the B2DPolygon to use prev, next control points.
diff --git a/main/canvas/source/directx/dx_impltools.cxx
b/main/canvas/source/directx/dx_impltools.cxx
index 421732e7d0..1f3294f816 100644
--- a/main/canvas/source/directx/dx_impltools.cxx
+++ b/main/canvas/source/directx/dx_impltools.cxx
@@ -275,7 +275,7 @@ namespace dxcanvas
else
{
// no control points -> no curves, simply add
- // straigt lines to GraphicsPath
+ // straight lines to GraphicsPath
rPoints.resize( nPoints );
for( sal_uInt32 nCurrPoint=0; nCurrPoint<nPoints;
++nCurrPoint )
diff --git
a/main/filter/source/xslt/odf2xhtml/export/common/styles/style_collector.xsl
b/main/filter/source/xslt/odf2xhtml/export/common/styles/style_collector.xsl
index 238f08c6bc..bca39a0677 100644
--- a/main/filter/source/xslt/odf2xhtml/export/common/styles/style_collector.xsl
+++ b/main/filter/source/xslt/odf2xhtml/export/common/styles/style_collector.xsl
@@ -90,7 +90,7 @@
<xsl:template name="collect-global-odf-properties">
<!-- to access the variable as a node-set by XPATH expressions,
it is necessary to convert it
- from a result-tree-fragment (RTF) to a node set by a
in a XSLT 1.0 non standarized function -->
+ from a result-tree-fragment (RTF) to a node set by a
in a XSLT 1.0 non standardized function -->
<xsl:variable name="globalDataRTF">
<xsl:call-template name="collect-document-links-RTF" />
</xsl:variable>
@@ -214,7 +214,7 @@
<xsl:copy-of
select="$documentLinks/styles-file/*/office:styles" />
<xsl:copy-of
select="$documentLinks/styles-file/*/office:font-face-decls" />
- <!-- office:automatic-styles may be containted in two files
(i.e. content.xml and styles.xml).
+ <!-- office:automatic-styles may be contained in two files
(i.e. content.xml and styles.xml).
Wild card necessary as top level element differs from
flat office files ("SampleName.fsxw") -->
<xsl:copy-of select="/*/office:automatic-styles" />
@@ -307,7 +307,7 @@
<xsl:param name="defaultOfficeStyle" />
<xsl:param name="defaultFamilyStyles" />
- <!--** traversee all style trees - branch after branch - collecting
style properties **-->
+ <!--** traverse all style trees - branch after branch - collecting
style properties **-->
<xsl:element name="all-doc-styles" namespace="">
<!-- Background Information:
@@ -320,7 +320,7 @@
but automatic:styles may inherit from both office:styles and
themself.
-->
- <!--** traversee all office:styles trees beginning with the
top-level styles **-->
+ <!--** traverse all office:styles trees beginning with the
top-level styles **-->
<xsl:for-each
select="$globalData/office:styles/style:style[not(@style:parent-style-name)]">
<!-- Looking for parents from style:family
<xsl:for-each
select="$globalData/office:styles/style:style[@style:family=current()/@style:family][not(@style:parent-style-name)]">
-->
@@ -344,7 +344,7 @@
an element representing the absolute
style properties style:property ** -->
</xsl:for-each>
- <!--** traversee all office:automatic-styles trees beginning with
the top-level styles **-->
+ <!--** traverse all office:automatic-styles trees beginning with the
top-level styles **-->
<xsl:for-each
select="$globalData/office:automatic-styles/style:style[not(@style:parent-style-name)]">
<!--** creates a style element with style:name and
style:family attribute and
an element representing the absolute
style properties style:property ** -->
@@ -386,7 +386,7 @@
<xsl:param name="inheritedStyleProperties" />
<xsl:param name="searchOnlyInAutomaticStyles" />
- <!--** create an absolute style by inherting properties from
the given parent properties **-->
+ <!--** create an absolute style by inheriting properties
from the given parent properties **-->
<xsl:variable name="newStyleProperties-RTF">
<xsl:call-template
name="create-inherited-style-properties">
<xsl:with-param name="inheritedStyleProperties"
select="$inheritedStyleProperties" />
@@ -527,7 +527,7 @@
<xsl:if test="*/@style:font-size-rel">
<!--
- The intheritedStyleProperties should include a absolute Font Size, but
+ The inherited StyleProperties should include an absolute Font Size, but
<style:properties
xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
@@ -635,7 +635,7 @@
</xsl:template>
<!-- REASON FOR TEMPLATE:
- The OpenOffice style properities gathered in the variable
'globalData' have to be mapped to the CSS style format
+ The OpenOffice style properties gathered in the variable
'globalData' have to be mapped to the CSS style format
-->
<xsl:template name="map-odf-properties">
<xsl:param name="globalData" />
@@ -810,7 +810,7 @@
<xsl:text>padding</xsl:text>
<xsl:value-of select="substring-after(name(), 'fo:margin')"/>
<xsl:text>:</xsl:text>
- <!-- Map once erroneusly used inch shortage 'inch' to CSS
shortage 'in' -->
+ <!-- Map once erroneously used inch shortage 'inch' to CSS
shortage 'in' -->
<xsl:choose>
<xsl:when test="contains(., 'inch')">
<xsl:value-of
select="substring-before(.,'ch')"/>
diff --git a/main/oox/source/export/drawingml.cxx
b/main/oox/source/export/drawingml.cxx
index 1d75dd1498..601926917d 100644
--- a/main/oox/source/export/drawingml.cxx
+++ b/main/oox/source/export/drawingml.cxx
@@ -1366,7 +1366,7 @@ static void lcl_SubstituteBullet(String& rNumStr,
rtl_TextEncoding& rChrSet, Str
else
{
/*
- Well we don't have an available substition, and we're
+ Well we don't have an available substitution, and we're
in our private area, so give up and show a standard
bullet symbol
*/
diff --git a/main/qadevOOo/tests/java/ifc/form/_XSubmit.java
b/main/qadevOOo/tests/java/ifc/form/_XSubmit.java
index 9bacde03c3..69ec9e49ba 100644
--- a/main/qadevOOo/tests/java/ifc/form/_XSubmit.java
+++ b/main/qadevOOo/tests/java/ifc/form/_XSubmit.java
@@ -55,7 +55,7 @@ import com.sun.star.uno.UnoRuntime;
* <code>TargetURL</code> property. <p>
*
* Short description : test adds two listeners, call
-* <code> submit </code> method and cecks if both listeners
+* <code> submit </code> method and checks if both listeners
* were called. Then one listener is removed and after
* <code> submit </code> method call it must not be called. <p>
*
@@ -93,7 +93,7 @@ public class _XSubmit extends MultiMethodTest {
}
/**
- * Before submision tries to set 'TargetURL' property
+ * Before submission tries to set 'TargetURL' property
* of component to some value assuming that component
* supports <code>com.sun.star.form.HTMLForm</code>
* service.
@@ -135,7 +135,7 @@ public class _XSubmit extends MultiMethodTest {
e.printStackTrace(log);
}
} else {
- log.println("!!! The tested compoennt doesn't support XPropertySet
");
+ log.println("!!! The tested component doesn't support XPropertySet
");
}
oObj.submit(cntrl, new MouseEvent());
diff --git a/main/scripting/examples/java/Newsgroup/PostNewsgroup.java
b/main/scripting/examples/java/Newsgroup/PostNewsgroup.java
index 111228c2d2..e888eb8f81 100644
--- a/main/scripting/examples/java/Newsgroup/PostNewsgroup.java
+++ b/main/scripting/examples/java/Newsgroup/PostNewsgroup.java
@@ -322,7 +322,7 @@ public class PostNewsgroup extends JFrame
if( subscribedNewsgroups == null )
{
- //System.out.println( "Couldn't find any subscibed
newsgroups in .mozilla" );
+ //System.out.println( "Couldn't find any subscribed
newsgroups in .mozilla" );
JOptionPane.showMessageDialog( window, "No subscribed
newsgroups found in mozilla/netscape profile \nPlease enter newsgroup and host
name",
"Newsgroups
Information", JOptionPane.INFORMATION_MESSAGE );
}
diff --git a/main/sd/source/filter/eppt/epptso.cxx
b/main/sd/source/filter/eppt/epptso.cxx
index fa9099ecfa..65d77c9bf2 100644
--- a/main/sd/source/filter/eppt/epptso.cxx
+++ b/main/sd/source/filter/eppt/epptso.cxx
@@ -2447,7 +2447,7 @@ static void lcl_SubstituteBullet(String& rNumStr,
rtl_TextEncoding& rChrSet, Str
else
{
/*
- Well we don't have an available substition, and we're
+ Well we don't have an available substitution, and we're
in our private area, so give up and show a standard
bullet symbol
*/
diff --git a/main/sd/source/ui/sidebar/MasterPageContainer.cxx
b/main/sd/source/ui/sidebar/MasterPageContainer.cxx
index e552b831d4..ea2dbf11d8 100644
--- a/main/sd/source/ui/sidebar/MasterPageContainer.cxx
+++ b/main/sd/source/ui/sidebar/MasterPageContainer.cxx
@@ -149,13 +149,13 @@ private:
static const int SMALL_PREVIEW_WIDTH = 72 + 2;
static const int LARGE_PREVIEW_WIDTH = 2*72 + 2;
- /** This substition of page preview shows "Preparing preview" and is
+ /** This substitution of page preview shows "Preparing preview" and is
shown as long as the actual previews are not being present.
*/
Image maLargePreviewBeingCreated;
Image maSmallPreviewBeingCreated;
- /** This substition of page preview is shown when a preview can not be
+ /** This substitution of page preview is shown when a preview can not be
created and thus is not available.
*/
Image maLargePreviewNotAvailable;
diff --git a/main/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.hxx
b/main/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.hxx
index 2b0235320d..abcd78c880 100644
--- a/main/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.hxx
+++ b/main/sd/source/ui/slidesorter/controller/SlsDragAndDropContext.hxx
@@ -53,7 +53,7 @@ public:
~DragAndDropContext (void);
/** Call this method (for example as reaction to ESC key press) to avoid
- processing (ie moving or inserting) the substition when the called
+ processing (ie moving or inserting) the substitution when the called
DragAndDropContext object is destroyed.
*/
void Dispose (void);
diff --git a/main/sfx2/source/doc/objserv.cxx b/main/sfx2/source/doc/objserv.cxx
index db097d0d00..237ae90eee 100644
--- a/main/sfx2/source/doc/objserv.cxx
+++ b/main/sfx2/source/doc/objserv.cxx
@@ -518,7 +518,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
rReq.AppendItem( SfxBoolItem(
SID_SAVETO, sal_True ) );
}
- // TODO/LATER: do the following GUI related
actions in standalown method
+ // TODO/LATER: do the following GUI related
actions in standalone method
//
========================================================================================================
// Introduce a status indicator for GUI
operation
SFX_REQUEST_ARG( rReq, pStatusIndicatorItem,
SfxUnoAnyItem, SID_PROGRESS_STATUSBAR_CONTROL, sal_False );
diff --git a/main/sw/source/filter/ww8/wrtw8num.cxx
b/main/sw/source/filter/ww8/wrtw8num.cxx
index 9426a3d5b8..cce42fb071 100644
--- a/main/sw/source/filter/ww8/wrtw8num.cxx
+++ b/main/sw/source/filter/ww8/wrtw8num.cxx
@@ -826,7 +826,7 @@ void MSWordExportBase::SubstituteBullet( String& rNumStr,
else
{
/*
- Well we don't have an available substition, and we're
+ Well we don't have an available substitution, and we're
in our private area, so give up and show a standard
bullet symbol
*/
diff --git a/main/toolkit/source/controls/unocontrols.cxx
b/main/toolkit/source/controls/unocontrols.cxx
index 06c8147fa9..98d0fcaf44 100644
--- a/main/toolkit/source/controls/unocontrols.cxx
+++ b/main/toolkit/source/controls/unocontrols.cxx
@@ -1131,7 +1131,7 @@ void UnoRadioButtonControl::itemStateChanged( const
awt::ItemEvent& rEvent ) thr
// Nowadays, since the listener handling changed a lot towards 1.1 (the
VCLXWindow reacts on more
// basic events from the VCL-windows, not anymore on the Link-based events
like in 1.0.x), this
// isn't the case anymore: For instance, this method here gets called for
the radio button
- // which is being implicitily _de_selected, too. This is pretty bad for
compatibility.
+ // which is being implicitly _de_selected, too. This is pretty bad for
compatibility.
// Thus, we suppress all events with a new state other than "1". This is
unlogical, and weird, when looking
// from a pure API perspective, but it's _compatible_ with older product
versions, and this is
// all which matters here.
@@ -1141,8 +1141,8 @@ void UnoRadioButtonControl::itemStateChanged( const
awt::ItemEvent& rEvent ) thr
if ( maItemListeners.getLength() )
maItemListeners.itemStateChanged( rEvent );
}
- // note that speaking stricly, this is wrong: When in 1.0.x, the user
would have de-selected
- // a radio button _without_ selecing another one, this would have
caused a notification.
+ // note that speaking strictly, this is wrong: When in 1.0.x, the user
would have de-selected
+ // a radio button _without_ selecting another one, this would have
caused a notification.
// With the change done here, this today won't cause a notification
anymore.
//
// Fortunately, it's not possible for the user to de-select a radio
button without selecting another on,
diff --git a/main/unotools/source/config/pathoptions.cxx
b/main/unotools/source/config/pathoptions.cxx
index fb8ae74f72..92961d6838 100644
--- a/main/unotools/source/config/pathoptions.cxx
+++ b/main/unotools/source/config/pathoptions.cxx
@@ -286,7 +286,7 @@ const String& SvtPathOptions_Impl::GetPath(
SvtPathOptions::Pathes ePath )
String aResult;
sal_Int32 nHandle = m_aMapEnumToPropHandle[ (sal_Int32)ePath ];
- // Substitution is done by the service itself using the substition
service
+ // Substitution is done by the service itself using the substitution
service
Any a = m_xPathSettings->getFastPropertyValue( nHandle );
a >>= aPathValue;
if( ePath == SvtPathOptions::PATH_ADDIN ||
@@ -355,7 +355,7 @@ void SvtPathOptions_Impl::SetPath( SvtPathOptions::Pathes
ePath, const String& r
aNewValue = rNewPath;
}
- // Resubstitution is done by the service itself using the
substition service
+ // Resubstitution is done by the service itself using the
substitution service
a <<= aNewValue;
try
{