You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2025/11/15 20:17:10 UTC

(openoffice) branch trunk updated: Fix typos (#438)

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 7670ab7795 Fix typos (#438)
7670ab7795 is described below

commit 7670ab779549d7913098aa9e18e66c33b446cb8b
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Sun Nov 16 06:17:05 2025 +1000

    Fix typos (#438)
    
    * Fix more typos
    
    * Regenerate ignored words list codespell.txt
---
 .github/linters/codespell.txt                                     | 3 ---
 main/connectivity/source/drivers/dbase/DTable.cxx                 | 8 ++++----
 main/connectivity/source/inc/java/tools.hxx                       | 2 +-
 main/dtrans/source/os2/dnd/DropTarget.cxx                         | 4 ++--
 main/dtrans/source/win32/dnd/target.cxx                           | 2 +-
 main/offapi/com/sun/star/system/XMailClient.idl                   | 2 +-
 main/offapi/com/sun/star/ucb/Content.idl                          | 2 +-
 .../java/OOoRunner/src/main/java/helper/CwsDataExchangeImpl.java  | 2 +-
 .../OOoRunner/src/main/java/ifc/beans/_XPropertyContainer.java    | 2 +-
 .../java/OOoRunner/src/main/java/ifc/util/_XCloneable.java        | 2 +-
 .../java/OOoRunner/src/main/java/mod/_forms/OListBoxModel.java    | 2 +-
 .../java/OOoRunner/src/main/java/mod/_forms/OTimeModel.java       | 2 +-
 main/sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx               | 2 +-
 main/svx/source/unodraw/unoshape.cxx                              | 2 +-
 main/sw/source/filter/ww8/ww8par.cxx                              | 2 +-
 main/sw/source/ui/docvw/SidebarTxtControlAcc.cxx                  | 2 +-
 main/sw/source/ui/docvw/SidebarWinAcc.cxx                         | 2 +-
 main/testtools/source/bridgetest/idl/bridgetest.idl               | 2 +-
 main/ucbhelper/inc/ucbhelper/content.hxx                          | 8 ++++----
 main/udkapi/com/sun/star/test/bridge/XBridgeTest.idl              | 2 +-
 main/vcl/source/glyphs/graphite_adaptors.cxx                      | 2 +-
 main/xmloff/source/forms/propertyimport.hxx                       | 2 +-
 22 files changed, 28 insertions(+), 31 deletions(-)

diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt
index 53206640b9..9e59bc27a7 100644
--- a/.github/linters/codespell.txt
+++ b/.github/linters/codespell.txt
@@ -377,7 +377,6 @@ ccahe
 ccertificate
 ceation
 ceck
-cecker
 cedentials
 cehck
 celle
@@ -997,7 +996,6 @@ excuting
 excution
 excutor
 execept
-execption
 exectables
 exectly
 exectutable
@@ -1339,7 +1337,6 @@ implememetation
 implememntation
 implememtation
 implemenatation
-implementaion
 implementaiton
 implementantions
 implementataion
diff --git a/main/connectivity/source/drivers/dbase/DTable.cxx b/main/connectivity/source/drivers/dbase/DTable.cxx
index 5d265dd00f..f4188653d1 100644
--- a/main/connectivity/source/drivers/dbase/DTable.cxx
+++ b/main/connectivity/source/drivers/dbase/DTable.cxx
@@ -721,7 +721,7 @@ void ODbaseTable::refreshIndexes()
 						aVector.push_back(aURL.getBase());
 					}
 				}
-				catch(Exception&) // a execption is thrown when no file exists
+				catch(Exception&) // an exception is thrown when no file exists
 				{
 				}
 			}
@@ -1094,7 +1094,7 @@ sal_Bool ODbaseTable::CreateImpl()
 			delete pFileStream;
 		}
 	}
-	catch(Exception&) // a execption is thrown when no file exists
+	catch(Exception&) // an exception is thrown when no file exists
 	{
 	}
 
@@ -1111,7 +1111,7 @@ sal_Bool ODbaseTable::CreateImpl()
 			Content aContent(aURL.GetMainURL(INetURLObject::NO_DECODE),Reference<XCommandEnvironment>());
 			aContent.executeCommand( rtl::OUString::createFromAscii( "delete" ),bool2any( sal_True ) );
 		}
-		catch(Exception&) // a execption is thrown when no file exists
+		catch(Exception&) // an exception is thrown when no file exists
 		{
 		}
 		return sal_False;
@@ -1128,7 +1128,7 @@ sal_Bool ODbaseTable::CreateImpl()
 		{
 			bMemoAlreadyExists = aMemo1Content.isDocument();
 		}
-		catch(Exception&) // a execption is thrown when no file exists
+		catch(Exception&) // an exception is thrown when no file exists
 		{
 		}
 		if (bMemoAlreadyExists)
diff --git a/main/connectivity/source/inc/java/tools.hxx b/main/connectivity/source/inc/java/tools.hxx
index 4cba2a979c..973c91fe55 100644
--- a/main/connectivity/source/inc/java/tools.hxx
+++ b/main/connectivity/source/inc/java/tools.hxx
@@ -74,7 +74,7 @@ namespace connectivity
 		@param	pEnv
 			The native java env
 		@param	_bClear
-			<TRUE/> if the execption should be cleared
+			<TRUE/> if the exception should be cleared
 		@return
 			<TRUE/> if an exception is occurred
 	*/
diff --git a/main/dtrans/source/os2/dnd/DropTarget.cxx b/main/dtrans/source/os2/dnd/DropTarget.cxx
index b7e32c114b..4cc9ada74c 100644
--- a/main/dtrans/source/os2/dnd/DropTarget.cxx
+++ b/main/dtrans/source/os2/dnd/DropTarget.cxx
@@ -139,7 +139,7 @@ void SAL_CALL DropTarget::setDefaultActions(sal_Int8 actions) throw(RuntimeExcep
 //
 // Non - interface functions ============================================================
 // DropTarget fires events to XDropTargetListeners. The event object can contains an
-// XDropTargetDragContext implementaion. When the listener calls on that interface
+// XDropTargetDragContext implementation. When the listener calls on that interface
 // then the calls are delegated from DragContext (XDropTargetDragContext) to these
 // functions.
 // Only one listener which visible area is affected is allowed to call on
@@ -162,7 +162,7 @@ void SAL_CALL DropTarget::rejectDrag() throw (RuntimeException)
 //
 // Non - interface functions ============================================================
 // DropTarget fires events to XDropTargetListeners. The event object contains an
-// XDropTargetDropContext implementaion. When the listener calls on that interface
+// XDropTargetDropContext implementation. When the listener calls on that interface
 // then the calls are delegated from DropContext (XDropTargetDropContext) to these
 // functions.
 // Only one listener which visible area is affected is allowed to call on
diff --git a/main/dtrans/source/win32/dnd/target.cxx b/main/dtrans/source/win32/dnd/target.cxx
index 2ac65276b5..2f884d1856 100644
--- a/main/dtrans/source/win32/dnd/target.cxx
+++ b/main/dtrans/source/win32/dnd/target.cxx
@@ -582,7 +582,7 @@ void DropTarget::fire_dropActionChanged( const DropTargetDragEvent& dtde )
 
 // Non - interface functions ============================================================
 // DropTarget fires events to XDropTargetListeners. The event object contains an
-// XDropTargetDropContext implementaion. When the listener calls on that interface
+// XDropTargetDropContext implementation. When the listener calls on that interface
 // then the calls are delegated from DropContext (XDropTargetDropContext) to these
 // functions.
 // Only one listener which visible area is affected is allowed to call on
diff --git a/main/offapi/com/sun/star/system/XMailClient.idl b/main/offapi/com/sun/star/system/XMailClient.idl
index c6efc97334..6c761f6381 100644
--- a/main/offapi/com/sun/star/system/XMailClient.idl
+++ b/main/offapi/com/sun/star/system/XMailClient.idl
@@ -66,7 +66,7 @@ interface XMailClient
 
         @throws com::sun::star::uno::Exception
             if an error occurs while sending the mail.
-            <p>The <member scope="com::sun::star::uno">Execption::Message</member>
+            <p>The <member scope="com::sun::star::uno">Exception::Message</member>
             may contain an error description.</p>
     */
     void sendMailMessage( [in] XMailMessage xMailMessage,
diff --git a/main/offapi/com/sun/star/ucb/Content.idl b/main/offapi/com/sun/star/ucb/Content.idl
index e7afd61d6b..513c4312c5 100644
--- a/main/offapi/com/sun/star/ucb/Content.idl
+++ b/main/offapi/com/sun/star/ucb/Content.idl
@@ -157,7 +157,7 @@ published service Content
                             <li><type scope="com::sun::star::lang">IllegalArgumentException</type>
                             indicates, that the property value is not acceptable. For instance,
                             setting an empty title may be illegal.</li>
-                            <li>Any other execption derived from <type scope="com::sun::star::uno">Exception</type>
+                            <li>Any other exception derived from <type scope="com::sun::star::uno">Exception</type>
                             indicates, that the value was not set successfully. For example,
                             this can be a <type>InteractiveAugmentedIOException</type>
                             transporting the error code <member>IOErrorCode::ACCESS_DENIED</member>.</li>
diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/helper/CwsDataExchangeImpl.java b/main/qadevOOo/java/OOoRunner/src/main/java/helper/CwsDataExchangeImpl.java
index e326df6b78..8492fcdb06 100644
--- a/main/qadevOOo/java/OOoRunner/src/main/java/helper/CwsDataExchangeImpl.java
+++ b/main/qadevOOo/java/OOoRunner/src/main/java/helper/CwsDataExchangeImpl.java
@@ -32,7 +32,7 @@ import util.PropertyName;
 import util.utils;
 
 /**
- * Implementaion of the interface CwsDataExchange
+ * Implementation of the interface CwsDataExchange
  * @see share.CwsDataExchange
  */
 public class CwsDataExchangeImpl implements CwsDataExchange
diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/beans/_XPropertyContainer.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/beans/_XPropertyContainer.java
index ec5fe451ed..c9e7d7c3e6 100644
--- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/beans/_XPropertyContainer.java
+++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/beans/_XPropertyContainer.java
@@ -52,7 +52,7 @@ public class _XPropertyContainer extends MultiMethodTest {
     /**
      * object relation X<CODE>PropertyAccess.propertyNotRemovable</CODE><br>
      * This relation must be filled from the module. It contains a property which must
-     * be a property of the implementaion object.
+     * be a property of the implementation object.
      */
     private String propertyNotRemovable = null;
 
diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/util/_XCloneable.java b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/util/_XCloneable.java
index 248b1e3f6b..38c4983c21 100644
--- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/util/_XCloneable.java
+++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/util/_XCloneable.java
@@ -53,7 +53,7 @@ public class _XCloneable extends MultiMethodTest {
         boolean result = true;
         clone = oObj.createClone();
 
-        //check if the implementaionname equals
+        //check if the implementationname equals
         result &= checkImplementationName(oObj,clone);
 
         //check ImplementationID
diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_forms/OListBoxModel.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_forms/OListBoxModel.java
index c04a945186..96c8d9ce18 100644
--- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_forms/OListBoxModel.java
+++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_forms/OListBoxModel.java
@@ -169,7 +169,7 @@ public class OListBoxModel extends GenericModelTest {
 
     /**
      * calls <CODE>createTestEnvironment()</CODE> from it's super class
-     * This test uses not the generic implementaion of <CODE>cecker()</CODE> of its
+     * This test uses not the generic implementation of <CODE>checker()</CODE> of its
      * super class. This tests uses its own implementation of <CODE>checker()</CODE>
      * to test <CODE>com::sun::star::form::XUpdateBroadcaster</CODE>
      * @param Param the test parameter
diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_forms/OTimeModel.java b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_forms/OTimeModel.java
index a35476a12d..8ed187eeab 100644
--- a/main/qadevOOo/java/OOoRunner/src/main/java/mod/_forms/OTimeModel.java
+++ b/main/qadevOOo/java/OOoRunner/src/main/java/mod/_forms/OTimeModel.java
@@ -158,7 +158,7 @@ public class OTimeModel extends GenericModelTest {
 
     /**
      * calls <CODE>createTestEnvironment()</CODE> from it's super class
-     * This test uses not the generic implementaion of <CODE>cecker()</CODE> of its
+     * This test uses not the generic implementation of <CODE>checker()</CODE> of its
      * super class. This tests uses its own implementation of <CODE>checker()</CODE>
      * to test <CODE>com::sun::star::form::XUpdateBroadcaster</CODE>
      * @param Param the test parameter
diff --git a/main/sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx b/main/sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx
index 2965bd8fa9..a255112de0 100644
--- a/main/sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx
+++ b/main/sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx
@@ -81,7 +81,7 @@ public:
 	*/
 	virtual sal_Int32 GetMinimumWidth (void);
 
-	/** The default implementaion always returns <FALSE/>
+	/** The default implementation always returns <FALSE/>
 	*/
 	virtual bool IsResizable (void);
 
diff --git a/main/svx/source/unodraw/unoshape.cxx b/main/svx/source/unodraw/unoshape.cxx
index fd3920be5b..7b03c0feee 100644
--- a/main/svx/source/unodraw/unoshape.cxx
+++ b/main/svx/source/unodraw/unoshape.cxx
@@ -1954,7 +1954,7 @@ void SAL_CALL SvxShape::setPropertyValues( const ::com::sun::star::uno::Sequence
 	const uno::Any* pValues = aValues.getConstArray();
 
 	// make sure mbIsMultiPropertyCall and mpImpl->mpItemSet are
-	// reseted even when an execption is thrown
+	// reseted even when an exception is thrown
     const ::comphelper::ScopeGuard aGuard( boost::bind( &SvxShape::endSetPropertyValues, this ) );
 
 	mbIsMultiPropertyCall = sal_True;
diff --git a/main/sw/source/filter/ww8/ww8par.cxx b/main/sw/source/filter/ww8/ww8par.cxx
index 25395ceb8b..432bdd5186 100644
--- a/main/sw/source/filter/ww8/ww8par.cxx
+++ b/main/sw/source/filter/ww8/ww8par.cxx
@@ -4036,7 +4036,7 @@ void wwSectionManager::InsertSegments()
         bool bProtected = SectionIsProtected(*aIter); // do we really  need this ?? I guess I have a different logic in editshell which disales this...
         if (bUseEnhFields && mrReader.pWDop->fProtEnabled && aIter->IsNotProtected())
         {
-            // here we have the special case that the whole document is protected, with the execption of this section.
+            // here we have the special case that the whole document is protected, with the exception of this section.
             // I want to address this when I do the section rework, so for the moment we disable the overall protection then...
             mrReader.rDoc.set(IDocumentSettingAccess::PROTECT_FORM, false );
         }
diff --git a/main/sw/source/ui/docvw/SidebarTxtControlAcc.cxx b/main/sw/source/ui/docvw/SidebarTxtControlAcc.cxx
index 0081e31ce0..df8087e345 100644
--- a/main/sw/source/ui/docvw/SidebarTxtControlAcc.cxx
+++ b/main/sw/source/ui/docvw/SidebarTxtControlAcc.cxx
@@ -285,7 +285,7 @@ void SidebarTxtControlAccessibleContext::ProcessWindowEvent( const VclWindowEven
 }
 
 // =============================================================================
-// implementaion of accessible for <SidebarTxtControl> instance
+// implementation of accessible for <SidebarTxtControl> instance
 // =============================================================================
 SidebarTxtControlAccessible::SidebarTxtControlAccessible( SidebarTxtControl& rSidebarTxtControl )
     : VCLXWindow()
diff --git a/main/sw/source/ui/docvw/SidebarWinAcc.cxx b/main/sw/source/ui/docvw/SidebarWinAcc.cxx
index d44a26b379..034c15b876 100644
--- a/main/sw/source/ui/docvw/SidebarWinAcc.cxx
+++ b/main/sw/source/ui/docvw/SidebarWinAcc.cxx
@@ -104,7 +104,7 @@ class SidebarWinAccessibleContext : public VCLXAccessibleComponent
 };
 
 // =============================================================================
-// implementaion of accessible for <SwSidebarWin> instance
+// implementation of accessible for <SwSidebarWin> instance
 // =============================================================================
 SidebarWinAccessible::SidebarWinAccessible( SwSidebarWin& rSidebarWin,
                                             ViewShell& rViewShell,
diff --git a/main/testtools/source/bridgetest/idl/bridgetest.idl b/main/testtools/source/bridgetest/idl/bridgetest.idl
index 8a967d9be6..a0c33ed343 100644
--- a/main/testtools/source/bridgetest/idl/bridgetest.idl
+++ b/main/testtools/source/bridgetest/idl/bridgetest.idl
@@ -355,7 +355,7 @@ interface XBridgeTest : XBridgeTestBase
     /**
      * Throws runtime exception.
      * check remote bridges handle exceptions during oneway calls properly.
-     * Note that on client side the execption may fly or not. When it flies, it should
+     * Note that on client side the exception may fly or not. When it flies, it should
      * have the proper message and context.
      ***/
     [oneway] void raiseRuntimeExceptionOneway(  [in] string Message,
diff --git a/main/ucbhelper/inc/ucbhelper/content.hxx b/main/ucbhelper/inc/ucbhelper/content.hxx
index 87ba8ab22f..d4fcc89174 100644
--- a/main/ucbhelper/inc/ucbhelper/content.hxx
+++ b/main/ucbhelper/inc/ucbhelper/content.hxx
@@ -364,7 +364,7 @@ public:
       *         - com::sun::star::lang::IllegalArgumentException indicates,
       *           that the property value is not acceptable. For instance,
       *           setting an empty title may be illegal.
-      *         - Any other execption derived from
+      *         - Any other exception derived from
       *           com::sun::star::uno::Exception indicates, that the value was
       *           not set successfully. For example, this can be a
       *           com::sun:star::ucb::InteractiveAugmentedIOException
@@ -394,7 +394,7 @@ public:
       *         - com::sun::star::lang::IllegalArgumentException indicates,
       *           that the property value is not acceptable. For instance,
       *           setting an empty title may be illegal.
-      *         - Any other execption derived from
+      *         - Any other exception derived from
       *           com::sun::star::uno::Exception indicates, that the value was
       *           not set successfully. For example, this can be a
       *           com::sun:star::ucb::InteractiveAugmentedIOException
@@ -484,7 +484,7 @@ public:
       *         - com::sun::star::lang::IllegalArgumentException indicates,
       *           that the property value is not acceptable. For instance,
       *           setting an empty title may be illegal.
-      *         - Any other execption derived from
+      *         - Any other exception derived from
       *           com::sun::star::uno::Exception indicates, that the value was
       *           not set successfully. For example, this can be a
       *           com::sun:star::ucb::InteractiveAugmentedIOException
@@ -522,7 +522,7 @@ public:
       *         - com::sun::star::lang::IllegalArgumentException indicates,
       *           that the property value is not acceptable. For instance,
       *           setting an empty title may be illegal.
-      *         - Any other execption derived from
+      *         - Any other exception derived from
       *           com::sun::star::uno::Exception indicates, that the value was
       *           not set successfully. For example, this can be a
       *           com::sun:star::ucb::InteractiveAugmentedIOException
diff --git a/main/udkapi/com/sun/star/test/bridge/XBridgeTest.idl b/main/udkapi/com/sun/star/test/bridge/XBridgeTest.idl
index de7a1f87c7..ba377eec15 100644
--- a/main/udkapi/com/sun/star/test/bridge/XBridgeTest.idl
+++ b/main/udkapi/com/sun/star/test/bridge/XBridgeTest.idl
@@ -214,7 +214,7 @@ published interface XBridgeTest : XBridgeTestBase
 	/**
 	 * Throws runtime exception.
 	 * check remote bridges handle exceptions during oneway calls properly.
-	 * Note that on client side the execption may fly or not. When it flies, it should
+	 * Note that on client side the exception may fly or not. When it flies, it should
 	 * have the proper message and context.
 	 ***/
 	[oneway] void raiseRuntimeExceptionOneway(	[in] string Message,
diff --git a/main/vcl/source/glyphs/graphite_adaptors.cxx b/main/vcl/source/glyphs/graphite_adaptors.cxx
index dcdac7bd1f..53a2c09fad 100644
--- a/main/vcl/source/glyphs/graphite_adaptors.cxx
+++ b/main/vcl/source/glyphs/graphite_adaptors.cxx
@@ -106,7 +106,7 @@ FontProperties::FontProperties(const FreetypeServerFont &font) throw()
     szFaceName[name_sz] = '\0';
 }
 
-// class GraphiteFontAdaptor implementaion.
+// class GraphiteFontAdaptor implementation.
 //
 GraphiteFontAdaptor::GraphiteFontAdaptor(ServerFont & sfont, const sal_Int32 dpiX, const sal_Int32 dpiY)
   :    mrFont(static_cast<FreetypeServerFont &>(sfont)),
diff --git a/main/xmloff/source/forms/propertyimport.hxx b/main/xmloff/source/forms/propertyimport.hxx
index a5694210c2..38f8b4b0af 100644
--- a/main/xmloff/source/forms/propertyimport.hxx
+++ b/main/xmloff/source/forms/propertyimport.hxx
@@ -103,7 +103,7 @@ namespace xmloff
 	protected:
 		/** handle one single attribute.
 
-			<p>This is called for every attribute of the element. This class' implementaion checks if the attribute
+			<p>This is called for every attribute of the element. This class' implementation checks if the attribute
 			describes a property, if so, it is added to <member>m_aValues</member>.</p>
 
 			<p>All non-property attributes should be handled in derived classes.</p>