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 772835b774 Fix typos (#433)
772835b774 is described below
commit 772835b774ba4c34b8de932fc3929f72593722f7
Author: John Bampton <[email protected]>
AuthorDate: Sun Nov 16 02:36:13 2025 +1000
Fix typos (#433)
* Fix typos
* Regenerate ignored words list codespell.txt
---
.github/linters/codespell.txt | 16 ----------------
main/chart2/source/controller/main/ChartModelClone.cxx | 4 ++--
main/cli_ure/source/uno_bridge/cli_proxy.cxx | 2 +-
main/formula/source/core/inc/core_resource.hxx | 2 +-
.../source/win32/filepicker/getfilenamewrapper.cxx | 4 ++--
main/framework/inc/services/substitutepathvars.hxx | 2 +-
main/framework/inc/threadhelp/transactionguard.hxx | 2 +-
.../framework/source/accelerators/acceleratorexecute.hxx | 2 +-
main/idlc/inc/idlc/errorhandler.hxx | 2 +-
.../main/java/com/sun/star/comp/loader/JavaLoader.java | 2 +-
main/offapi/com/sun/star/embed/Actions.idl | 4 ++--
.../com/sun/star/i18n/XExtendedIndexEntrySupplier.idl | 2 +-
.../com/sun/star/inspection/PropertyControlType.idl | 2 +-
.../sun/star/linguistic2/XSearchableDictionaryList.idl | 2 +-
.../src/main/java/complexlib/ComplexTestCase.java | 8 ++++----
.../main/java/ifc/accessibility/_XAccessibleAction.java | 2 +-
.../java/OOoRunner/src/main/java/util/utils.java | 2 +-
main/scripting/source/storage/ScriptStorage.cxx | 6 +++---
main/scripting/source/storage/ScriptURI.cxx | 4 ++--
main/sd/source/ui/inc/DrawViewShell.hxx | 2 +-
main/solenv/inc/set_wntx64.mk | 2 +-
main/solenv/inc/wntmsci11.mk | 2 +-
main/solenv/inc/wntmscx.mk | 2 +-
main/svx/source/accessibility/DGColorNameLookUp.cxx | 2 +-
main/udkapi/com/sun/star/connection/XConnector.idl | 2 +-
.../sun/star/wizards/common/InvalidQueryException.java | 2 +-
26 files changed, 34 insertions(+), 50 deletions(-)
diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt
index fbb2238f50..fd2d0e9402 100644
--- a/.github/linters/codespell.txt
+++ b/.github/linters/codespell.txt
@@ -689,7 +689,6 @@ defind
definetely
definied
definifiton
-definined
definitivly
defint
defualt
@@ -1006,16 +1005,11 @@ excatly
excecpt
excepetion
exceptionts
-excetion
-excetions
-excetpion
-exceutes
exceution
excisting
exclusiv
exclusivly
excpet
-excpetion
excpt
excption
excptions
@@ -1113,7 +1107,6 @@ fedality
feeded
feld
feture
-fials
fiddley
fiel
fileds
@@ -1625,11 +1618,8 @@ lables
laf
laiter
lama
-langauges
languag
langugage
-languge
-lanuage
lanugages
laoder
lates
@@ -1661,11 +1651,8 @@ lits
livetime
loaader
loacales
-loacation
-locahost
localed
localy
-loccked
lockingf
loclaized
loction
@@ -2580,7 +2567,6 @@ speficies
spefifies
speicfied
speparator
-spepc
spiltting
splited
spliting
@@ -2627,7 +2613,6 @@ stript
strotage
struc
structur
-stting
styhe
subsedent
substitude
@@ -2635,7 +2620,6 @@ substitudes
substitue
substituing
substract
-substutite
subtile
succeedes
succeeeded
diff --git a/main/chart2/source/controller/main/ChartModelClone.cxx
b/main/chart2/source/controller/main/ChartModelClone.cxx
index 890a66cdf7..ef072b2077 100644
--- a/main/chart2/source/controller/main/ChartModelClone.cxx
+++ b/main/chart2/source/controller/main/ChartModelClone.cxx
@@ -214,7 +214,7 @@ namespace chart
ENSURE_OR_RETURN_VOID( i_modelToCopyFrom.is(),
"ChartModelElement::applyModelContentToModel: invalid source model!" );
try
{
- // /-- loccked controllers of destination
+ // /-- locked controllers of destination
ControllerLockGuard aLockedControllers( i_model );
Reference< XChartDocument > xSource( i_modelToCopyFrom,
UNO_QUERY_THROW );
Reference< XChartDocument > xDestination( i_model, UNO_QUERY_THROW
);
@@ -263,7 +263,7 @@ namespace chart
{
xDestMod->setModified( sal_False );
}
- // \-- loccked controllers of destination
+ // \-- locked controllers of destination
}
catch( const Exception& )
{
diff --git a/main/cli_ure/source/uno_bridge/cli_proxy.cxx
b/main/cli_ure/source/uno_bridge/cli_proxy.cxx
index 1a6703aa08..1455e00467 100644
--- a/main/cli_ure/source/uno_bridge/cli_proxy.cxx
+++ b/main/cli_ure/source/uno_bridge/cli_proxy.cxx
@@ -1102,7 +1102,7 @@ void SAL_CALL cli_proxy_dispatch(
{
uno_any_construct( (uno_Any *)uno_ret, 0, 0, 0 );
}
- // no excetpion occurred
+ // no exception occurred
*uno_exc = 0;
}
else
diff --git a/main/formula/source/core/inc/core_resource.hxx
b/main/formula/source/core/inc/core_resource.hxx
index 61f3b7eae2..3b9ba0974d 100644
--- a/main/formula/source/core/inc/core_resource.hxx
+++ b/main/formula/source/core/inc/core_resource.hxx
@@ -75,7 +75,7 @@ namespace formula
@param _pPlaceholderAscii
the ASCII representation of the placeholder string
@param _rReplace
- the string which should substutite the placeholder
+ the string which should substitute the placeholder
*/
static ::rtl::OUString loadString(
sal_uInt16 _nResId,
diff --git a/main/fpicker/source/win32/filepicker/getfilenamewrapper.cxx
b/main/fpicker/source/win32/filepicker/getfilenamewrapper.cxx
index dbf765536e..25f1a578e7 100644
--- a/main/fpicker/source/win32/filepicker/getfilenamewrapper.cxx
+++ b/main/fpicker/source/win32/filepicker/getfilenamewrapper.cxx
@@ -171,8 +171,8 @@ namespace /* private */
}
//-----------------------------------------------
- // exceutes GetOpenFileName/GetSaveFileName in
- // a separat thread
+ // executes GetOpenFileName/GetSaveFileName in
+ // a separate thread
//-----------------------------------------------
bool ThreadExecGetFileName(LPOPENFILENAME lpofn, bool bOpen, /*out*/
int& ExtErr)
diff --git a/main/framework/inc/services/substitutepathvars.hxx
b/main/framework/inc/services/substitutepathvars.hxx
index 12a907fbd5..a6f214e401 100644
--- a/main/framework/inc/services/substitutepathvars.hxx
+++ b/main/framework/inc/services/substitutepathvars.hxx
@@ -199,7 +199,7 @@ enum PreDefVariable
struct PredefinedPathVariables
{
// Predefined variables supported by substitute variables
- LanguageType m_eLanguageType; // Lanuage type of
Office
+ LanguageType m_eLanguageType; // Language type of
Office
rtl::OUString m_FixedVar[ PREDEFVAR_COUNT ]; // Variable value
access by PreDefVariable
rtl::OUString m_FixedVarNames[ PREDEFVAR_COUNT ]; // Variable name
access by PreDefVariable
};
diff --git a/main/framework/inc/threadhelp/transactionguard.hxx
b/main/framework/inc/threadhelp/transactionguard.hxx
index 8d7223407a..41c2a8602d 100644
--- a/main/framework/inc/threadhelp/transactionguard.hxx
+++ b/main/framework/inc/threadhelp/transactionguard.hxx
@@ -97,7 +97,7 @@ class TransactionGuard : private INonCopyable
inline TransactionGuard( ITransactionManager& rManager, EExceptionMode
eMode, ERejectReason* eReason = NULL )
: m_pManager( &rManager )
{
- // If exception mode is set to E_HARDEXCETIONS we don't need a
buffer to return reason!
+ // If exception mode is set to E_HARDEXCEPTIONS we don't need a
buffer to return reason!
// We handle it private. If a call is rejected, our manager throw
some exceptions ... and the reason
// could be ignorable ...
if( eReason == NULL )
diff --git a/main/framework/source/accelerators/acceleratorexecute.hxx
b/main/framework/source/accelerators/acceleratorexecute.hxx
index 715b19c68a..f66d2a8074 100644
--- a/main/framework/source/accelerators/acceleratorexecute.hxx
+++ b/main/framework/source/accelerators/acceleratorexecute.hxx
@@ -90,7 +90,7 @@ struct TMutexInit
@attention
- Because exceution of an accelerator command can be dangerous
+ Because execution of an accelerator command can be dangerous
(in case it force an office shutdown for key "ALT+F4"!)
all internal dispatches are done asynchronous.
Menas that the trigger call doesn't wait till the dispatch
diff --git a/main/idlc/inc/idlc/errorhandler.hxx
b/main/idlc/inc/idlc/errorhandler.hxx
index f057f231aa..87bea30e3c 100644
--- a/main/idlc/inc/idlc/errorhandler.hxx
+++ b/main/idlc/inc/idlc/errorhandler.hxx
@@ -64,7 +64,7 @@ enum ErrorCode
EIDL_INTERFACEMEMBER_LOOKUP, // interface is not defined or a fwd
declaration not exists
EIDL_SERVICEMEMBER_LOOKUP,
EIDL_TYPE_IDENT_CONFLICT, // type and identifier has equal names
- EIDL_ONEWAY_RAISE_CONFLICT, // oneway function raised excpetion
conflict
+ EIDL_ONEWAY_RAISE_CONFLICT, // oneway function raised exception
conflict
EIDL_WRONGATTRIBUTEFLAG,
EIDL_DEFINED_ATTRIBUTEFLAG,
EIDL_WRONGATTRIBUTEKEYWORD,
diff --git
a/main/jurt/java/jurt/src/main/java/com/sun/star/comp/loader/JavaLoader.java
b/main/jurt/java/jurt/src/main/java/com/sun/star/comp/loader/JavaLoader.java
index 0e106f7dc4..ef79cc06a8 100644
--- a/main/jurt/java/jurt/src/main/java/com/sun/star/comp/loader/JavaLoader.java
+++ b/main/jurt/java/jurt/src/main/java/com/sun/star/comp/loader/JavaLoader.java
@@ -236,7 +236,7 @@ public class JavaLoader implements XImplementationLoader,
/**
* Provides a components factory.
- * The <code>JavaLoader</code> tries to load the class first. If a
loacation URL is given the
+ * The <code>JavaLoader</code> tries to load the class first. If a
location URL is given the
* RegistrationClassFinder is used to load the class. Otherwise the
class is loaded thru the Class.forName
* method.
* To get the factory the inspects the class for the optional static
member functions __getServiceFactory resp.
diff --git a/main/offapi/com/sun/star/embed/Actions.idl
b/main/offapi/com/sun/star/embed/Actions.idl
index 228a54037c..e06e4034c3 100644
--- a/main/offapi/com/sun/star/embed/Actions.idl
+++ b/main/offapi/com/sun/star/embed/Actions.idl
@@ -34,7 +34,7 @@ module com { module sun { module star { module embed {
published constants Actions
{
//------------------------------------------------------------------------
- /** "Prevent Close" - throws veto excetion if target object is going to
+ /** "Prevent Close" - throws veto exception if target object is going to
close.
<p>
@@ -46,7 +46,7 @@ published constants Actions
const long PREVENT_CLOSE = 1;
//------------------------------------------------------------------------
- /** "Prevent Termination" - throws veto excetion if target object is
going
+ /** "Prevent Termination" - throws veto exception if target object is
going
to terminate.
<p>
diff --git a/main/offapi/com/sun/star/i18n/XExtendedIndexEntrySupplier.idl
b/main/offapi/com/sun/star/i18n/XExtendedIndexEntrySupplier.idl
index e65490ee5d..0f25b30f83 100644
--- a/main/offapi/com/sun/star/i18n/XExtendedIndexEntrySupplier.idl
+++ b/main/offapi/com/sun/star/i18n/XExtendedIndexEntrySupplier.idl
@@ -43,7 +43,7 @@ module com { module sun { module star { module i18n {
<ul>
<li>Provide supported language/locale list.
<li>Provide supported algorithm list.
- <li>Provide phonetic entry support for CJK languge.
+ <li>Provide phonetic entry support for CJK language.
<li>Provide method to compare index entry.
</ul>
diff --git a/main/offapi/com/sun/star/inspection/PropertyControlType.idl
b/main/offapi/com/sun/star/inspection/PropertyControlType.idl
index 3858b2bf86..39011cbe29 100644
--- a/main/offapi/com/sun/star/inspection/PropertyControlType.idl
+++ b/main/offapi/com/sun/star/inspection/PropertyControlType.idl
@@ -98,7 +98,7 @@ published constants PropertyControlType
<member>XPropertyControl::Value</member>, and if this string has
previously been added to the list
using the <type>XStringListControl</type> interface, this string is
selected. Vice versa, if the user
selects one of those non-color strings in the list, then reading
<member>XPropertyControl::Value</member>
- will retrieve you this stting.</p>
+ will retrieve you this setting.</p>
*/
const short ColorListBox = 7;
diff --git a/main/offapi/com/sun/star/linguistic2/XSearchableDictionaryList.idl
b/main/offapi/com/sun/star/linguistic2/XSearchableDictionaryList.idl
index 838dcbbb6d..8724c9c29b 100644
--- a/main/offapi/com/sun/star/linguistic2/XSearchableDictionaryList.idl
+++ b/main/offapi/com/sun/star/linguistic2/XSearchableDictionaryList.idl
@@ -47,7 +47,7 @@ module com { module sun { module star { module linguistic2 {
<P> Only active dictionaries of a suitable language will be searched
for the entry.
The language is suitable if it is the same as the dictionary's language
or
- the dictionary may hold entries of all langauges.
+ the dictionary may hold entries of all languages.
<P>
@see <type scope="com::sun::star::linguistic2">XDictionaryList</type>
diff --git
a/main/qadevOOo/java/OOoRunner/src/main/java/complexlib/ComplexTestCase.java
b/main/qadevOOo/java/OOoRunner/src/main/java/complexlib/ComplexTestCase.java
index b7a8cadcc5..b9217100af 100644
--- a/main/qadevOOo/java/OOoRunner/src/main/java/complexlib/ComplexTestCase.java
+++ b/main/qadevOOo/java/OOoRunner/src/main/java/complexlib/ComplexTestCase.java
@@ -151,13 +151,13 @@ public abstract class ComplexTestCase extends Assurance
implements ComplexTest
try
{
- // some tests are very dynamic in its exceution time so
that
- // a threadTimeOut fials. In this cases the logging
mechanisim
+ // some tests are very dynamic in its execution time so
that
+ // a threadTimeOut fails. In this cases the logging
mechanism
// is a useful way to detect that a office respective a
test
// is running and not death.
// But way ThreadTimeOut?
- // There exeitsts a complex test which uses no office.
Therefore
- // a logging mechanisim to detect a stalled test.
+ // There exists a complex test which uses no office.
Therefore
+ // a logging mechanism to detect a stalled test.
int lastPing = -1;
int newPing = 0;
diff --git
a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/accessibility/_XAccessibleAction.java
b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/accessibility/_XAccessibleAction.java
index 1040a7caa2..c127f1b883 100644
---
a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/accessibility/_XAccessibleAction.java
+++
b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/accessibility/_XAccessibleAction.java
@@ -32,7 +32,7 @@ public class _XAccessibleAction extends lib.MultiMethodTest {
/**
* calls the method and stores the result in the <br>
- * variable count. Is OK if no excpetion occurs
+ * variable count. Is OK if no exception occurs
*/
public void _getAccessibleActionCount() {
diff --git a/main/qadevOOo/java/OOoRunner/src/main/java/util/utils.java
b/main/qadevOOo/java/OOoRunner/src/main/java/util/utils.java
index 6b15071521..73b84c16af 100644
--- a/main/qadevOOo/java/OOoRunner/src/main/java/util/utils.java
+++ b/main/qadevOOo/java/OOoRunner/src/main/java/util/utils.java
@@ -309,7 +309,7 @@ public class utils {
settingPath = (String) pthSettings.getPropertyValue(setting);
} catch (Exception e) {
- System.out.println("Couldn't get stting value for " + setting);
+ System.out.println("Couldn't get setting value for " + setting);
e.printStackTrace();
}
return settingPath;
diff --git a/main/scripting/source/storage/ScriptStorage.cxx
b/main/scripting/source/storage/ScriptStorage.cxx
index 7877765d47..fd7b398b68 100644
--- a/main/scripting/source/storage/ScriptStorage.cxx
+++ b/main/scripting/source/storage/ScriptStorage.cxx
@@ -710,12 +710,12 @@ throw ( lang::IllegalArgumentException,
RuntimeException )
{
::osl::Guard< osl::Mutex > aGuard( m_mutex );
-// format is script:://[function_name]?language=[languge]&location=[location]
+// format is script:://[function_name]?language=[language]&location=[location]
// LogicalName is now not used anymore, further more the ScriptURI class
// will be retired also and a new UNO service will be used. Additionally the
// parcel-description will also need to be modified to remove logical name
-// ScriprtMetaDataImporter has been modified to ignore the Logical name
-// definined in the parcel-desc.xml. As an interim temp solution the Datas_vec
+// ScriptMetaDataImporter has been modified to ignore the Logical name
+// defined in the parcel-desc.xml. As an interim temp solution the Datas_vec
// structure that is returned from ScriptMetDataImporter sets the logicalname
// to the function name. ScriptURI class has been changed in the same way.
//
diff --git a/main/scripting/source/storage/ScriptURI.cxx
b/main/scripting/source/storage/ScriptURI.cxx
index cf874ed307..8bffe926e9 100644
--- a/main/scripting/source/storage/ScriptURI.cxx
+++ b/main/scripting/source/storage/ScriptURI.cxx
@@ -133,11 +133,11 @@ void ScriptURI::set_values( scripting_impl::Uri values )
m_valid = values.valid;
m_location = values.location;
m_language = values.language;
-// format is
vnd.sun.star.script://[function_name]?language=[languge]&location=[location]
+// format is
vnd.sun.star.script://[function_name]?language=[language]&location=[location]
// LogicalName is now not used anymore, further more the ScriptURI class
// will be retired also and a new UNO service will be used. Additionally the
// parcel-description will also need to be modified to remove logical name
-// In order to temporarly support the existing code functionname is
+// In order to temporarily support the existing code functionname is
// set to the logica name parsed by this class. So getLogicalName() and
// getFunctionName() return identical string.
//
diff --git a/main/sd/source/ui/inc/DrawViewShell.hxx
b/main/sd/source/ui/inc/DrawViewShell.hxx
index 3d3fc89bfc..4b764b8c37 100644
--- a/main/sd/source/ui/inc/DrawViewShell.hxx
+++ b/main/sd/source/ui/inc/DrawViewShell.hxx
@@ -339,7 +339,7 @@ public:
The id is expected to be a number between zero (inclusive) and
the number of layers as returned by the
<member>GetTabLayerCount</member> method (exclusive). Note that
- Invalid values are ignored. No excpetion is thrown in that case.
+ Invalid values are ignored. No exception is thrown in that case.
*/
virtual void SetActiveTabLayerIndex (int nId);
diff --git a/main/solenv/inc/set_wntx64.mk b/main/solenv/inc/set_wntx64.mk
index c4382cf476..f83ac62747 100644
--- a/main/solenv/inc/set_wntx64.mk
+++ b/main/solenv/inc/set_wntx64.mk
@@ -82,7 +82,7 @@ CDEFSOBJMT_X64+=-D_MT
LINKFLAGS_X64=/MAP /OPT:NOREF
.ENDIF
-# excetion handling protection
+# exception handling protection
LINKFLAGS+=-safeseh
# enable DEP
diff --git a/main/solenv/inc/wntmsci11.mk b/main/solenv/inc/wntmsci11.mk
index 90933e8ee0..4b3568e033 100644
--- a/main/solenv/inc/wntmsci11.mk
+++ b/main/solenv/inc/wntmsci11.mk
@@ -233,7 +233,7 @@ LINK=link /MACHINE:IX86 /IGNORE:4102 /IGNORE:4197
LINKFLAGS=/MAP /OPT:NOREF
.ENDIF
-# excetion handling protection
+# exception handling protection
LINKFLAGS+=-safeseh
# enable DEP
diff --git a/main/solenv/inc/wntmscx.mk b/main/solenv/inc/wntmscx.mk
index 742bc296a4..b4973e4477 100644
--- a/main/solenv/inc/wntmscx.mk
+++ b/main/solenv/inc/wntmscx.mk
@@ -240,7 +240,7 @@ LINK=link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197
LINKFLAGS=/MAP /OPT:NOREF
.ENDIF
-# excetion handling protection isn't used on Win64
+# exception handling protection isn't used on Win64
# enable DEP
LINKFLAGS+=-nxcompat
diff --git a/main/svx/source/accessibility/DGColorNameLookUp.cxx
b/main/svx/source/accessibility/DGColorNameLookUp.cxx
index bd63edb80b..711d2f7279 100644
--- a/main/svx/source/accessibility/DGColorNameLookUp.cxx
+++ b/main/svx/source/accessibility/DGColorNameLookUp.cxx
@@ -127,7 +127,7 @@ DGColorNameLookUp::DGColorNameLookUp (void)
}
catch (uno::RuntimeException e)
{
- // Ignore the exception: the color who lead to the excpetion
+ // Ignore the exception: the color who lead to the exception
// is not included into the map.
}
}
diff --git a/main/udkapi/com/sun/star/connection/XConnector.idl
b/main/udkapi/com/sun/star/connection/XConnector.idl
index e3b92e50ba..d0affd978b 100644
--- a/main/udkapi/com/sun/star/connection/XConnector.idl
+++ b/main/udkapi/com/sun/star/connection/XConnector.idl
@@ -47,7 +47,7 @@ published interface XConnector:
com::sun::star::uno::XInterface
@param sConnectionDescription
contains the kind of the connection plus a
comma separated list of attributes,
- e.g., <em>socket,host=locahost,port=2345</em> for a
tcpip connection.
+ e.g., <em>socket,host=localhost,port=2345</em> for a
tcpip connection.
@throws ConnectionSetupException
Problems during setting up the connector
diff --git
a/main/wizards/com/sun/star/wizards/common/InvalidQueryException.java
b/main/wizards/com/sun/star/wizards/common/InvalidQueryException.java
index 1f7de62707..b735fd9f4e 100644
--- a/main/wizards/com/sun/star/wizards/common/InvalidQueryException.java
+++ b/main/wizards/com/sun/star/wizards/common/InvalidQueryException.java
@@ -26,7 +26,7 @@ import com.sun.star.lang.XMultiServiceFactory;
public class InvalidQueryException extends java.lang.Throwable
{
-// TODO don't show messages in Excetions
+// TODO don't show messages in Exceptions
public InvalidQueryException(XMultiServiceFactory xMSF, String sCommand)
{
final int RID_REPORT = 2400;