From c4fe1ba11983e8c047ffadebd2bcf2d01977c0d0 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Fri, 24 Jan 2025 20:27:22 +1000 Subject: [PATCH] Fix more spelling --- codespell.txt | 4 ---- main/comphelper/inc/comphelper/uno3.hxx | 4 ++-- main/framework/inc/protocols.h | 2 +- main/framework/inc/stdtypes.h | 6 +++--- main/framework/source/inc/loadenv/loadenvexception.hxx | 4 ++-- .../OfficeDev/DesktopEnvironment/Interceptor.java | 2 +- .../OfficeDev/DesktopEnvironment/StatusListener.java | 10 +++++----- main/sd/inc/Outliner.hxx | 2 +- .../com/sun/star/wizards/fax/FaxWizardDialogImpl.java | 2 +- .../star/wizards/letter/LetterWizardDialogImpl.java | 2 +- 10 files changed, 17 insertions(+), 21 deletions(-) diff --git a/codespell.txt b/codespell.txt index edb854f9cd..3621a5076e 100644 --- a/codespell.txt +++ b/codespell.txt @@ -1227,7 +1227,6 @@ dreawn drived droped dscrete -dsiable dsplays dthe dublicat @@ -1620,7 +1619,6 @@ functons funczion funktion funktions -funtionality funtions furher furhtermore @@ -1900,7 +1898,6 @@ ingore inh inheritage inherting -inidcates inidicate inidicates inidicator @@ -2009,7 +2006,6 @@ interate interation intercation interecptor -intereested interepreted intereseted interessted diff --git a/main/comphelper/inc/comphelper/uno3.hxx b/main/comphelper/inc/comphelper/uno3.hxx index 98d368c6ef..0d96cd106d 100644 --- a/main/comphelper/inc/comphelper/uno3.hxx +++ b/main/comphelper/inc/comphelper/uno3.hxx @@ -149,7 +149,7 @@ namespace comphelper //===================================================================== //= deriving from multiple XInterface-derived classes //===================================================================== - //= forwarding/merging XInterface funtionality + //= forwarding/merging XInterface functionality //===================================================================== #define DECLARE_XINTERFACE( ) \ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw (::com::sun::star::uno::RuntimeException); \ @@ -185,7 +185,7 @@ namespace comphelper } //===================================================================== - //= forwarding/merging XTypeProvider funtionality + //= forwarding/merging XTypeProvider functionality //===================================================================== #define DECLARE_XTYPEPROVIDER( ) \ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw (::com::sun::star::uno::RuntimeException); \ diff --git a/main/framework/inc/protocols.h b/main/framework/inc/protocols.h index 25f9925e5e..9914d02a1a 100644 --- a/main/framework/inc/protocols.h +++ b/main/framework/inc/protocols.h @@ -49,7 +49,7 @@ namespace framework{ #define SPECIALPROTOCOL_PRIVATE_OBJECT DECLARE_ASCII("private:object" ) // indicates loading of components using a model directly #define SPECIALPROTOCOL_PRIVATE_STREAM DECLARE_ASCII("private:stream" ) // indicates loading of components using a stream only #define SPECIALPROTOCOL_PRIVATE_FACTORY DECLARE_ASCII("private:factory") // indicates creation of empty documents -#define SPECIALPROTOCOL_SLOT DECLARE_ASCII("slot:" ) // internal protocol of the sfx project for generic dispatch funtionality +#define SPECIALPROTOCOL_SLOT DECLARE_ASCII("slot:" ) // internal protocol of the sfx project for generic dispatch functionality #define SPECIALPROTOCOL_UNO DECLARE_ASCII(".uno:" ) // external representation of the slot protocol using names instead of id's #define SPECIALPROTOCOL_MACRO DECLARE_ASCII("macro:" ) // special sfx protocol to execute macros #define SPECIALPROTOCOL_SERVICE DECLARE_ASCII("service:" ) // generic way to start uno services during dispatch diff --git a/main/framework/inc/stdtypes.h b/main/framework/inc/stdtypes.h index ed8b10af0a..017371bf43 100644 --- a/main/framework/inc/stdtypes.h +++ b/main/framework/inc/stdtypes.h @@ -104,7 +104,7 @@ struct KeyEventEqualsFunc /** Basic string list based on a std::vector() - It implements some additional funtionality which can be useful but + It implements some additional functionality which can be useful but is missing at the normal vector implementation. */ class OUStringList : public ::comphelper::SequenceAsVector< ::rtl::OUString > @@ -139,7 +139,7 @@ class OUStringList : public ::comphelper::SequenceAsVector< ::rtl::OUString > /** Basic string queue based on a std::queue() - It implements some additional funtionality which can be useful but + It implements some additional functionality which can be useful but is missing at the normal std implementation. */ typedef ::std::queue< ::rtl::OUString > OUStringQueue; @@ -148,7 +148,7 @@ typedef ::std::queue< ::rtl::OUString > OUStringQueue; /** Basic hash based on a std::hash_map() which provides key=[OUString] and value=[template type] pairs - It implements some additional funtionality which can be useful but + It implements some additional functionality which can be useful but is missing at the normal hash implementation. */ template< class TType > diff --git a/main/framework/source/inc/loadenv/loadenvexception.hxx b/main/framework/source/inc/loadenv/loadenvexception.hxx index 6ce98df55e..027a9adbe0 100644 --- a/main/framework/source/inc/loadenv/loadenvexception.hxx +++ b/main/framework/source/inc/loadenv/loadenvexception.hxx @@ -105,12 +105,12 @@ class LoadEnvException /** @short TODO */ ID_COULD_NOT_REACTIVATE_CONTROLLER, - /** @short inidcates an already running load operation. Of yourse the same + /** @short indicates an already running load operation. Of course the same instance can't be used for multiple load requests at the same time. */ ID_STILL_RUNNING, - /** @short sometiems we can't specify the reason for an error, because we + /** @short sometimes we can't specify the reason for an error, because we was interrupted by an called code in an unexpected way ... */ ID_GENERAL_ERROR diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java index d11f12d94a..87f0a51e98 100644 --- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java +++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java @@ -141,7 +141,7 @@ public void startListening() * (started inside the original oneway method). We found all parameters of * the original request packed inside a vector. Here we unpack it and * call the right internal helper method, which implements the right - * funtionality. + * functionality. * * @seealso frameAction() * @seealso dispatch() diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java index cc19379d96..7bccebb7bb 100644 --- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java +++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java @@ -144,7 +144,7 @@ public void startListening() * (started inside the original oneway method). We found all parameters of * the original request packed inside a vector. Here we unpack it and * call the right internal helper method, which implements the right - * funtionality. + * functionality. * * @seealso frameAction() * @seealso statusChanged() @@ -184,7 +184,7 @@ public void execOneway(/*IN*/ int nRequest,/*IN*/ Vector lParams ) * Because it's a oneway method we start a thread as reaction. This thread call * us back and we can do necessary things there. * But we shouldn't start such action - if it's not really necessary. - * So we check before, if we are intereested on this event really. + * So we check before, if we are interested on this event really. * * @see impl_frameAction() * @@ -227,7 +227,7 @@ public void execOneway(/*IN*/ int nRequest,/*IN*/ Vector lParams ) /** * This is the callback method for the status we listen for an wish to show it - * on our UI control. Of yourse it's a oneway method ... but we doesn't call back + * on our UI control. Of course it's a oneway method ... but we doesn't call back * to the office synchronously here. We update our UI only. So we don't leave this * java process. In such case it's not necessary to use threads to decouple it. * Do it here and now ... @@ -242,7 +242,7 @@ public void execOneway(/*IN*/ int nRequest,/*IN*/ Vector lParams ) if (m_bDead) return; - // enable/dsiable th control. + // enable/disable th control. // Means: If the feature isn't available currently - we can't show an status really here. // Then we should colorize it gray ... m_rControl.setEnabled(aEvent.IsEnabled); @@ -250,7 +250,7 @@ public void execOneway(/*IN*/ int nRequest,/*IN*/ Vector lParams ) // Only if status is enabled we can look for his value! if (aEvent.IsEnabled) { - // look for the right type ofthe UI control + // look for the right type of the UI control // Following actions depend on it. //............................................................. diff --git a/main/sd/inc/Outliner.hxx b/main/sd/inc/Outliner.hxx index acb0aa9b65..6d7706b702 100644 --- a/main/sd/inc/Outliner.hxx +++ b/main/sd/inc/Outliner.hxx @@ -262,7 +262,7 @@ private: */ ::std::vector maMarkListCopy; - /** This flag inidcates that only the current view is to be used for + /** This flag indicates that only the current view is to be used for searching and spelling. Automatically switching to other view does not take place when this flag is set. */ diff --git a/main/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java b/main/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java index 404a097e13..8364b92ed1 100644 --- a/main/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java +++ b/main/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.java @@ -176,7 +176,7 @@ public void startWizard(XMultiServiceFactory xMSF, Object[] CurPropertyValue) //If the configuration does not define Greeting/Salutation/CommunicationType yet choose a default setDefaultForGreetingAndSalutationAndCommunication(); - //disable funtionality that is not supported by the template: + //disable functionality that is not supported by the template: initializeElements(); //disable the document, so that the user cannot change anything: diff --git a/main/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java b/main/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java index c0299889c6..4492cf2208 100644 --- a/main/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java +++ b/main/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.java @@ -218,7 +218,7 @@ public void startWizard(XMultiServiceFactory xMSF, Object[] CurPropertyValue) //If the configuration does not define Greeting/Salutation yet choose a default setDefaultForGreetingAndSalutation(); - //disable funtionality that is not supported by the template: + //disable functionality that is not supported by the template: initializeElements(); //disable the document, so that the user cannot change anything: