From f5ca04caca1b6888cdc6b00b8465a53e6d5cf38d Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sun, 3 Mar 2013 17:11:39 +0100 Subject: Related to fdo#60724: correct spelling Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716 --- framework/inc/classes/droptargetlistener.hxx | 2 +- framework/inc/classes/filtercachedata.hxx | 4 ++-- framework/inc/classes/framecontainer.hxx | 2 +- framework/inc/dispatch/closedispatcher.hxx | 2 +- framework/inc/dispatch/dispatchprovider.hxx | 2 +- framework/inc/dispatch/mailtodispatcher.hxx | 2 +- framework/inc/dispatch/menudispatcher.hxx | 2 +- framework/inc/dispatch/oxt_handler.hxx | 2 +- framework/inc/dispatch/popupmenudispatcher.hxx | 2 +- framework/inc/dispatch/servicehandler.hxx | 2 +- framework/inc/dispatch/startmoduledispatcher.hxx | 2 +- framework/inc/dispatch/systemexec.hxx | 2 +- framework/inc/helper/ocomponentaccess.hxx | 2 +- framework/inc/helper/oframes.hxx | 2 +- framework/inc/helper/persistentwindowstate.hxx | 2 +- framework/inc/helper/statusindicator.hxx | 2 +- framework/inc/helper/tagwindowasmodified.hxx | 2 +- framework/inc/helper/titlebarupdate.hxx | 2 +- .../inc/recording/dispatchrecordersupplier.hxx | 2 +- framework/inc/services/autorecovery.hxx | 2 +- framework/inc/services/contenthandlerfactory.hxx | 2 +- framework/inc/services/desktop.hxx | 2 +- framework/inc/services/frame.hxx | 4 ++-- framework/inc/services/layoutmanager.hxx | 2 +- framework/inc/services/license.hxx | 2 +- framework/inc/services/logindialog.hxx | 2 +- framework/inc/services/pathsettings.hxx | 2 +- framework/inc/threadhelp/lockhelper.hxx | 2 +- .../inc/uifactory/uielementfactorymanager.hxx | 2 +- .../ContextMenuInterceptor.java | 2 +- .../qa/complex/framework/autosave/Protocol.java | 4 ++-- framework/source/classes/framecontainer.cxx | 4 ++-- framework/source/dispatch/dispatchprovider.cxx | 4 ++-- framework/source/dispatch/mailtodispatcher.cxx | 4 ++-- framework/source/dispatch/servicehandler.cxx | 4 ++-- framework/source/fwe/dispatch/interaction.cxx | 2 +- .../source/fwi/threadhelp/transactionmanager.cxx | 2 +- framework/source/helper/persistentwindowstate.cxx | 4 ++-- framework/source/helper/statusindicatorfactory.cxx | 2 +- framework/source/inc/pattern/window.hxx | 4 ++-- framework/source/jobs/helponstartup.cxx | 2 +- framework/source/jobs/job.cxx | 4 ++-- framework/source/jobs/jobdata.cxx | 2 +- framework/source/loadenv/loadenv.cxx | 4 ++-- framework/source/services/autorecovery.cxx | 14 ++++++------ framework/source/services/desktop.cxx | 8 +++---- framework/source/services/frame.cxx | 26 +++++++++++----------- framework/source/services/pathsettings.cxx | 2 +- framework/source/services/substitutepathvars.cxx | 4 ++-- .../moduleuiconfigurationmanager.cxx | 2 +- .../uiconfiguration/uicategorydescription.cxx | 2 +- .../uiconfiguration/windowstateconfiguration.cxx | 4 ++-- 52 files changed, 86 insertions(+), 86 deletions(-) (limited to 'framework') diff --git a/framework/inc/classes/droptargetlistener.hxx b/framework/inc/classes/droptargetlistener.hxx index 620b76b7c762..0a71804e9ca3 100644 --- a/framework/inc/classes/droptargetlistener.hxx +++ b/framework/inc/classes/droptargetlistener.hxx @@ -40,7 +40,7 @@ class DropTargetListener : private ThreadHelpBase // member private: - /// uno service manager to create neccessary services + /// uno service manager to create necessary services css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory; /// weakreference to target frame (Don't use a hard reference. Owner can't delete us then!) css::uno::WeakReference< css::frame::XFrame > m_xTargetFrame; diff --git a/framework/inc/classes/filtercachedata.hxx b/framework/inc/classes/filtercachedata.hxx index 305a12bd6087..2374d55c13e1 100644 --- a/framework/inc/classes/filtercachedata.hxx +++ b/framework/inc/classes/filtercachedata.hxx @@ -369,7 +369,7 @@ class SetNodeHash : public ::boost::unordered_map< ::rtl::OUString //--------------------------------------------------------------------------------------------------------- // Append changed, added or removed items to special lists - // Neccessary for saving changes + // Necessary for saving changes //--------------------------------------------------------------------------------------------------------- void appendChange( const ::rtl::OUString& sName , EModifyState eState ); @@ -667,7 +667,7 @@ class FilterCFGAccess : public ::utl::ConfigItem //------------------------------------------------------------------------------------------------------------- private: EFilterPackage m_ePackage ; // ... not realy used yet! should split configuration in STANDARD and ADDITIONAL filter - sal_Int32 m_nVersion ; // file format version of configuration! (neccessary for "xml2xcd" transformation!) + sal_Int32 m_nVersion ; // file format version of configuration! (necessary for "xml2xcd" transformation!) sal_Int32 m_nKeyCountTypes ; // follow key counts present count of configuration properties for types/filters ... and depends from m_nVersion - must be set right! sal_Int32 m_nKeyCountFilters ; sal_Int32 m_nKeyCountDetectors ; diff --git a/framework/inc/classes/framecontainer.hxx b/framework/inc/classes/framecontainer.hxx index bfd7bcd584cf..62159aa8062e 100644 --- a/framework/inc/classes/framecontainer.hxx +++ b/framework/inc/classes/framecontainer.hxx @@ -70,7 +70,7 @@ class FrameContainer : private ThreadHelpBase /// list to hold all frames TFrameContainer m_aContainer; - /// one container item can be the current active frame. Its neccessary for Desktop or Frame implementation. + /// one container item can be the current active frame. Its necessary for Desktop or Frame implementation. css::uno::Reference< css::frame::XFrame > m_xActiveFrame; //_______________________________________ diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx index ed333767860b..3493590385f3 100644 --- a/framework/inc/dispatch/closedispatcher.hxx +++ b/framework/inc/dispatch/closedispatcher.hxx @@ -60,7 +60,7 @@ namespace framework{ class CloseDispatcher : public css::lang::XTypeProvider , public css::frame::XNotifyingDispatch // => XDispatch , public css::frame::XDispatchInformationProvider - // baseclasses ... order is neccessary for right initialization! + // baseclasses ... order is necessary for right initialization! , private ThreadHelpBase , public ::cppu::OWeakObject { diff --git a/framework/inc/dispatch/dispatchprovider.hxx b/framework/inc/dispatch/dispatchprovider.hxx index 2ebfa3dc0be1..4515491b164e 100644 --- a/framework/inc/dispatch/dispatchprovider.hxx +++ b/framework/inc/dispatch/dispatchprovider.hxx @@ -82,7 +82,7 @@ class DispatchProvider : // interfaces public css::lang::XTypeProvider , public css::frame::XDispatchProvider , // baseclasses - // Order is neccessary for right initialization! + // Order is necessary for right initialization! private ThreadHelpBase , private TransactionBase , public ::cppu::OWeakObject diff --git a/framework/inc/dispatch/mailtodispatcher.hxx b/framework/inc/dispatch/mailtodispatcher.hxx index 6f2a5c035eee..71031cbd8950 100644 --- a/framework/inc/dispatch/mailtodispatcher.hxx +++ b/framework/inc/dispatch/mailtodispatcher.hxx @@ -59,7 +59,7 @@ class MailToDispatcher : // interfaces public css::frame::XDispatchProvider , public css::frame::XNotifyingDispatch, // => XDispatch // baseclasses - // Order is neccessary for right initialization! + // Order is necessary for right initialization! private ThreadHelpBase , public cppu::OWeakObject { diff --git a/framework/inc/dispatch/menudispatcher.hxx b/framework/inc/dispatch/menudispatcher.hxx index a2b38f3174f4..eb0a8e7711dc 100644 --- a/framework/inc/dispatch/menudispatcher.hxx +++ b/framework/inc/dispatch/menudispatcher.hxx @@ -79,7 +79,7 @@ class MenuDispatcher : // interfaces public css::frame::XDispatch , public css::frame::XFrameActionListener , // baseclasses - // Order is neccessary for right initialization! + // Order is necessary for right initialization! public ThreadHelpBase , public cppu::OWeakObject { diff --git a/framework/inc/dispatch/oxt_handler.hxx b/framework/inc/dispatch/oxt_handler.hxx index 3cee776b717c..0e206338bb34 100644 --- a/framework/inc/dispatch/oxt_handler.hxx +++ b/framework/inc/dispatch/oxt_handler.hxx @@ -60,7 +60,7 @@ class Oxt_Handler : // interfaces , public css::frame::XNotifyingDispatch // => XDispatch , public css::document::XExtendedFilterDetection // baseclasses - // Order is neccessary for right initialization! + // Order is necessary for right initialization! , private ThreadHelpBase , public ::cppu::OWeakObject { diff --git a/framework/inc/dispatch/popupmenudispatcher.hxx b/framework/inc/dispatch/popupmenudispatcher.hxx index 1ecc51246e6d..3be3298047c8 100644 --- a/framework/inc/dispatch/popupmenudispatcher.hxx +++ b/framework/inc/dispatch/popupmenudispatcher.hxx @@ -84,7 +84,7 @@ class PopupMenuDispatcher : // interfaces public css::frame::XFrameActionListener , public css::lang::XInitialization , // baseclasses - // Order is neccessary for right initialization! + // Order is necessary for right initialization! public ThreadHelpBase , public cppu::OWeakObject { diff --git a/framework/inc/dispatch/servicehandler.hxx b/framework/inc/dispatch/servicehandler.hxx index 3813bb9bc515..ca8843a368f5 100644 --- a/framework/inc/dispatch/servicehandler.hxx +++ b/framework/inc/dispatch/servicehandler.hxx @@ -63,7 +63,7 @@ class ServiceHandler : // interfaces public css::frame::XDispatchProvider , public css::frame::XNotifyingDispatch, // => XDispatch // baseclasses - // Order is neccessary for right initialization! + // Order is necessary for right initialization! private ThreadHelpBase , public cppu::OWeakObject { diff --git a/framework/inc/dispatch/startmoduledispatcher.hxx b/framework/inc/dispatch/startmoduledispatcher.hxx index 9518b45b4150..97d3825dc798 100644 --- a/framework/inc/dispatch/startmoduledispatcher.hxx +++ b/framework/inc/dispatch/startmoduledispatcher.hxx @@ -52,7 +52,7 @@ namespace framework{ class StartModuleDispatcher : public css::lang::XTypeProvider , public css::frame::XNotifyingDispatch // => XDispatch , public css::frame::XDispatchInformationProvider - // baseclasses ... order is neccessary for right initialization! + // baseclasses ... order is necessary for right initialization! , private ThreadHelpBase , public ::cppu::OWeakObject { diff --git a/framework/inc/dispatch/systemexec.hxx b/framework/inc/dispatch/systemexec.hxx index 98db3c4aa43e..8fac399056fc 100644 --- a/framework/inc/dispatch/systemexec.hxx +++ b/framework/inc/dispatch/systemexec.hxx @@ -61,7 +61,7 @@ class SystemExec : // interfaces public css::frame::XDispatchProvider , public css::frame::XNotifyingDispatch, // => XDispatch // baseclasses - // Order is neccessary for right initialization! + // Order is necessary for right initialization! private ThreadHelpBase , public cppu::OWeakObject { diff --git a/framework/inc/helper/ocomponentaccess.hxx b/framework/inc/helper/ocomponentaccess.hxx index 7e836c49e0ee..2a1a94db595b 100644 --- a/framework/inc/helper/ocomponentaccess.hxx +++ b/framework/inc/helper/ocomponentaccess.hxx @@ -57,7 +57,7 @@ namespace framework{ @devstatus ready to use *//*-*************************************************************************************************************/ -class OComponentAccess : private ThreadHelpBase , // Must be the first of baseclasses - Is neccessary for right initialization of objects! +class OComponentAccess : private ThreadHelpBase , // Must be the first of baseclasses - Is necessary for right initialization of objects! public ::cppu::WeakImplHelper1< ::com::sun::star::container::XEnumerationAccess > { //------------------------------------------------------------------------------------------------------------- diff --git a/framework/inc/helper/oframes.hxx b/framework/inc/helper/oframes.hxx index ea9ea00999e9..04078b082c13 100644 --- a/framework/inc/helper/oframes.hxx +++ b/framework/inc/helper/oframes.hxx @@ -57,7 +57,7 @@ namespace framework{ @devstatus deprecated *//*-*************************************************************************************************************/ -class OFrames : private ThreadHelpBase , // Must be the first of baseclasses - Is neccessary for right initialization of objects! +class OFrames : private ThreadHelpBase , // Must be the first of baseclasses - Is necessary for right initialization of objects! public ::cppu::WeakImplHelper1< ::com::sun::star::frame::XFrames > { //------------------------------------------------------------------------------------------------------------- diff --git a/framework/inc/helper/persistentwindowstate.hxx b/framework/inc/helper/persistentwindowstate.hxx index f8bac8eca0df..6e037d3a90ea 100644 --- a/framework/inc/helper/persistentwindowstate.hxx +++ b/framework/inc/helper/persistentwindowstate.hxx @@ -60,7 +60,7 @@ class PersistentWindowState : // interfaces public css::lang::XTypeProvider, public css::lang::XInitialization, public css::frame::XFrameActionListener, // => XEventListener - // baseclasses (order neccessary for right initialization!) + // baseclasses (order necessary for right initialization!) private ThreadHelpBase, public ::cppu::OWeakObject { diff --git a/framework/inc/helper/statusindicator.hxx b/framework/inc/helper/statusindicator.hxx index a2913eadc0d2..3a9fb451ced0 100644 --- a/framework/inc/helper/statusindicator.hxx +++ b/framework/inc/helper/statusindicator.hxx @@ -62,7 +62,7 @@ namespace framework{ */ class StatusIndicator : public css::lang::XTypeProvider , public css::task::XStatusIndicator - , private ThreadHelpBase // Order of baseclasses is neccessary for right initializaton! + , private ThreadHelpBase // Order of baseclasses is necessary for right initializaton! , public ::cppu::OWeakObject // => XInterface { //------------------------------------------- diff --git a/framework/inc/helper/tagwindowasmodified.hxx b/framework/inc/helper/tagwindowasmodified.hxx index 3346a4972a08..fa3c506c13c7 100644 --- a/framework/inc/helper/tagwindowasmodified.hxx +++ b/framework/inc/helper/tagwindowasmodified.hxx @@ -56,7 +56,7 @@ class TagWindowAsModified : // interfaces public css::lang::XInitialization, public css::frame::XFrameActionListener, // => XEventListener public css::util::XModifyListener, // => XEventListener - // baseclasses (order neccessary for right initialization!) + // baseclasses (order necessary for right initialization!) private ThreadHelpBase, public ::cppu::OWeakObject { diff --git a/framework/inc/helper/titlebarupdate.hxx b/framework/inc/helper/titlebarupdate.hxx index 6d66c9d16793..cc323f66fa90 100644 --- a/framework/inc/helper/titlebarupdate.hxx +++ b/framework/inc/helper/titlebarupdate.hxx @@ -63,7 +63,7 @@ class TitleBarUpdate : // interfaces , public css::lang::XInitialization , public css::frame::XTitleChangeListener // => XEventListener , public css::frame::XFrameActionListener // => XEventListener - // baseclasses (order neccessary for right initialization!) + // baseclasses (order necessary for right initialization!) , private ThreadHelpBase , public ::cppu::OWeakObject { diff --git a/framework/inc/recording/dispatchrecordersupplier.hxx b/framework/inc/recording/dispatchrecordersupplier.hxx index 67946b7c8446..ddd17796fe0c 100644 --- a/framework/inc/recording/dispatchrecordersupplier.hxx +++ b/framework/inc/recording/dispatchrecordersupplier.hxx @@ -51,7 +51,7 @@ class DispatchRecorderSupplier : // interfaces public css::lang::XServiceInfo , public css::frame::XDispatchRecorderSupplier , // baseclasses - // Order is neccessary for right initialization! + // Order is necessary for right initialization! private ThreadHelpBase , public ::cppu::OWeakObject { diff --git a/framework/inc/services/autorecovery.hxx b/framework/inc/services/autorecovery.hxx index 72515ef3820c..c07ee9e2ec47 100644 --- a/framework/inc/services/autorecovery.hxx +++ b/framework/inc/services/autorecovery.hxx @@ -194,7 +194,7 @@ class AutoRecovery : public css::lang::XTypeProvider /** timer mst be started with a very(!) short time intervall, to poll for the end of an user action, which does not allow saving documents in general */ E_POLL_TILL_AUTOSAVE_IS_ALLOWED, - /** dont start the timer - but calls the same action then before immediatly again! */ + /** dont start the timer - but calls the same action then before immediately again! */ E_CALL_ME_BACK }; diff --git a/framework/inc/services/contenthandlerfactory.hxx b/framework/inc/services/contenthandlerfactory.hxx index 4b81f7aa7c7b..bb77320c838e 100644 --- a/framework/inc/services/contenthandlerfactory.hxx +++ b/framework/inc/services/contenthandlerfactory.hxx @@ -78,7 +78,7 @@ class ContentHandlerFactory : // interfaces public css::container::XNameContainer , // => XNameReplace => XNameAccess => XElementAccess public css::util::XFlushable , // base classes - // Order is neccessary for right initialization of it! + // Order is necessary for right initialization of it! private ThreadHelpBase , private TransactionBase , public ::cppu::OWeakObject diff --git a/framework/inc/services/desktop.hxx b/framework/inc/services/desktop.hxx index d6d2aaea260f..24f77b8b4b68 100644 --- a/framework/inc/services/desktop.hxx +++ b/framework/inc/services/desktop.hxx @@ -112,7 +112,7 @@ class Desktop : // interfaces public css::task::XInteractionHandler , public css::frame::XUntitledNumbers , // base classes - // Order is neccessary for right initialization! + // Order is necessary for right initialization! private ThreadHelpBase , private TransactionBase , public ::cppu::OBroadcastHelper , diff --git a/framework/inc/services/frame.hxx b/framework/inc/services/frame.hxx index ebc9a015a2b3..e5da7251c9ce 100644 --- a/framework/inc/services/frame.hxx +++ b/framework/inc/services/frame.hxx @@ -70,7 +70,7 @@ namespace framework{ -// This enum can be used to set differnt active states of frames +// This enum can be used to set different active states of frames enum EActiveState { E_INACTIVE , // I'am not a member of active path in tree and i don't have the focus. @@ -125,7 +125,7 @@ class Frame : // interfaces public css::frame::XTitle , public css::frame::XTitleChangeBroadcaster , // base classes - // Order is neccessary for right initialization of this class! + // Order is necessary for right initialization of this class! public ThreadHelpBase , public TransactionBase , public PropertySetHelper , // helper implements ThreadHelpbase, TransactionBase, XPropertySet, XPropertySetInfo diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx index e45794caae11..07011c6ea71e 100644 --- a/framework/inc/services/layoutmanager.hxx +++ b/framework/inc/services/layoutmanager.hxx @@ -89,7 +89,7 @@ namespace framework typedef ::comphelper::OPropertyContainer LayoutManager_PBase; class LayoutManager : public LayoutManager_Base , // base classes - // Order is neccessary for right initialization! + // Order is necessary for right initialization! private ThreadHelpBase , // Struct for right initalization of mutex member! Must be first of baseclasses. public ::cppu::OBroadcastHelper , public ILayoutNotifications , diff --git a/framework/inc/services/license.hxx b/framework/inc/services/license.hxx index 64792294b3da..8b1d49926b81 100644 --- a/framework/inc/services/license.hxx +++ b/framework/inc/services/license.hxx @@ -55,7 +55,7 @@ namespace framework public css::task::XJob , public css::util::XCloseable , // base classes - // Order is neccessary for right initialization! + // Order is necessary for right initialization! private ThreadHelpBase , // Struct for right initalization of mutex member! Must be first of baseclasses. public ::cppu::OWeakObject // => XWeak, XInterface { diff --git a/framework/inc/services/logindialog.hxx b/framework/inc/services/logindialog.hxx index 1047e93bd3f3..b301a625e284 100644 --- a/framework/inc/services/logindialog.hxx +++ b/framework/inc/services/logindialog.hxx @@ -360,7 +360,7 @@ class LoginDialog : public XTYPEPROVIDER , public XSERVICEINFO , public XDIALOG , public XFLUSHABLE , - private ThreadHelpBase , // Order of baseclasses is neccessary for right initialization! + private ThreadHelpBase , // Order of baseclasses is necessary for right initialization! public OBROADCASTHELPER , public OPROPERTYSETHELPER , public OWEAKOBJECT diff --git a/framework/inc/services/pathsettings.hxx b/framework/inc/services/pathsettings.hxx index a947248b87a9..8fedd0c00b69 100644 --- a/framework/inc/services/pathsettings.hxx +++ b/framework/inc/services/pathsettings.hxx @@ -52,7 +52,7 @@ class PathSettings : public css::lang::XTypeProvider , public css::lang::XServiceInfo , public css::util::XChangesListener , // => XEventListener // base classes - // Order is neccessary for right initialization! + // Order is necessary for right initialization! private ThreadHelpBase , public ::cppu::OBroadcastHelper , public ::cppu::OPropertySetHelper , // => XPropertySet / XFastPropertySet / XMultiPropertySet diff --git a/framework/inc/threadhelp/lockhelper.hxx b/framework/inc/threadhelp/lockhelper.hxx index 9bdfe86ce5c8..93641b5817b4 100644 --- a/framework/inc/threadhelp/lockhelper.hxx +++ b/framework/inc/threadhelp/lockhelper.hxx @@ -125,7 +125,7 @@ class FWI_DLLPUBLIC LockHelper : public IMutex // ... or the solarmuex as "m_pSolarMutex" (must be set from outside! because some components must be vcl-free!) // ... but sometimes you need a shareable osl mutex! // In this case you has some problems: i ) If your lock type is set to E_OWNMUTEX => it's easy; you can use your member "m_pOwnMutex" - it's a osl mutex. - // Creation and using of "m_pShareableOslMutex" isn't neccessary! + // Creation and using of "m_pShareableOslMutex" isn't necessary! // ii ) Otherwise you have no osl mutex ... so you must create "m_pShareableOslMutex" and use it twice! // In this case you must lock two member everytime - "m_pShareableMutex" AND "m_pFairRWLock" or "m_pSolarMutex" or ... // It isn't realy fine - but the only possible way. diff --git a/framework/inc/uifactory/uielementfactorymanager.hxx b/framework/inc/uifactory/uielementfactorymanager.hxx index 266111813de8..fa2cb8bbb761 100644 --- a/framework/inc/uifactory/uielementfactorymanager.hxx +++ b/framework/inc/uifactory/uielementfactorymanager.hxx @@ -48,7 +48,7 @@ namespace framework class ConfigurationAccess_FactoryManager : // interfaces // baseclasses - // Order is neccessary for right initialization! + // Order is necessary for right initialization! private ThreadHelpBase , public ::cppu::WeakImplHelper1< ::com::sun::star::container::XContainerListener> { diff --git a/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java b/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java index 996360df235e..306ba6d3bb78 100644 --- a/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java +++ b/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java @@ -120,7 +120,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor } catch (com.sun.star.uno.Exception ex) { - // something strange has happend! + // something strange has happened! } catch (java.lang.Throwable ex) { diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java index e8e48c0eccb4..de5a9d31853b 100644 --- a/framework/qa/complex/framework/autosave/Protocol.java +++ b/framework/qa/complex/framework/autosave/Protocol.java @@ -606,7 +606,7 @@ public class Protocol extends JComponent ++m_nLine; - // it's neccessary to open scopes before creatig the protocol line + // it's necessary to open scopes before creatig the protocol line // to guarantee right tab handling for new scope value! if ((nType & TYPE_SCOPE_OPEN) == TYPE_SCOPE_OPEN) ++m_nScope; @@ -616,7 +616,7 @@ public class Protocol extends JComponent String sAsciiLog = aLine.toString(); String sHTMLLog = aLine.toHTML(); - // it's neccessary to close scope after creatig the protocol line + // it's necessary to close scope after creatig the protocol line // to guarantee right tab handling for old scope value! if ( ( m_nScope > 0 ) && diff --git a/framework/source/classes/framecontainer.cxx b/framework/source/classes/framecontainer.cxx index 0b75fd3d416c..78a9c1783d54 100644 --- a/framework/source/classes/framecontainer.cxx +++ b/framework/source/classes/framecontainer.cxx @@ -35,7 +35,7 @@ namespace framework{ *****************************************************************************************************************/ FrameContainer::FrameContainer() // initialize base classes first. - // Order is neccessary for right initilization of his and OUR member ... m_aLock + // Order is necessary for right initilization of his and OUR member ... m_aLock : ThreadHelpBase ( &Application::GetSolarMutex() ) /*DEPRECATEME , m_bAsyncQuit ( sal_False ) // default must be "disabled"! @@ -93,7 +93,7 @@ void FrameContainer::append( const css::uno::Reference< css::frame::XFrame >& xF void FrameContainer::remove( const css::uno::Reference< css::frame::XFrame >& xFrame ) { /* SAFE { */ - // write lock neccessary for follwing erase()! + // write lock necessary for follwing erase()! WriteGuard aWriteLock( m_aLock ); TFrameIterator aSearchedItem = ::std::find( m_aContainer.begin(), m_aContainer.end(), xFrame ); diff --git a/framework/source/dispatch/dispatchprovider.cxx b/framework/source/dispatch/dispatchprovider.cxx index 678b4885601a..56053cc8c1bd 100644 --- a/framework/source/dispatch/dispatchprovider.cxx +++ b/framework/source/dispatch/dispatchprovider.cxx @@ -423,7 +423,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame // Not for controller - not for protocol handler // It should be a loadable content - may be a file. Check it ... - // This check is neccessary to found out, that + // This check is necessary to found out, that // support for some protocols isn't installed by user. May be // "ftp" isn't available. So we suppress creation of our self dispatcher. // The result will be clear. He can't handle it - but he would try it. @@ -519,7 +519,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_searchProt } catch(const css::uno::Exception&) {} - // look if initialization is neccessary + // look if initialization is necessary css::uno::Reference< css::lang::XInitialization > xInit( xHandler, css::uno::UNO_QUERY ); if (xInit.is()) { diff --git a/framework/source/dispatch/mailtodispatcher.cxx b/framework/source/dispatch/mailtodispatcher.cxx index 0b80ac3cb055..331243b11f77 100644 --- a/framework/source/dispatch/mailtodispatcher.cxx +++ b/framework/source/dispatch/mailtodispatcher.cxx @@ -152,7 +152,7 @@ css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL Mail void SAL_CALL MailToDispatcher::dispatch( const css::util::URL& aURL , const css::uno::Sequence< css::beans::PropertyValue >& lArguments ) throw( css::uno::RuntimeException ) { - // dispatch() is an [oneway] call ... and may our user release his reference to us immediatly. + // dispatch() is an [oneway] call ... and may our user release his reference to us immediately. // So we should hold us self alive till this call ends. css::uno::Reference< css::frame::XNotifyingDispatch > xSelfHold(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY); implts_dispatch(aURL,lArguments); @@ -177,7 +177,7 @@ void SAL_CALL MailToDispatcher::dispatchWithNotification( const css::util::URL& const css::uno::Sequence< css::beans::PropertyValue >& lArguments, const css::uno::Reference< css::frame::XDispatchResultListener >& xListener ) throw( css::uno::RuntimeException ) { - // This class was designed to die by reference. And if user release his reference to us immediatly after calling this method + // This class was designed to die by reference. And if user release his reference to us immediately after calling this method // we can run into some problems. So we hold us self alive till this method ends. // Another reason: We can use this reference as source of sending event at the end too. css::uno::Reference< css::frame::XNotifyingDispatch > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY); diff --git a/framework/source/dispatch/servicehandler.cxx b/framework/source/dispatch/servicehandler.cxx index 7fc236eb7348..ddeac81e3b20 100644 --- a/framework/source/dispatch/servicehandler.cxx +++ b/framework/source/dispatch/servicehandler.cxx @@ -150,7 +150,7 @@ css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL Serv void SAL_CALL ServiceHandler::dispatch( const css::util::URL& aURL , const css::uno::Sequence< css::beans::PropertyValue >& lArguments ) throw( css::uno::RuntimeException ) { - // dispatch() is an [oneway] call ... and may our user release his reference to us immediatly. + // dispatch() is an [oneway] call ... and may our user release his reference to us immediately. // So we should hold us self alive till this call ends. css::uno::Reference< css::frame::XNotifyingDispatch > xSelfHold(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY); implts_dispatch(aURL,lArguments); @@ -175,7 +175,7 @@ void SAL_CALL ServiceHandler::dispatchWithNotification( const css::util::URL& const css::uno::Sequence< css::beans::PropertyValue >& lArguments, const css::uno::Reference< css::frame::XDispatchResultListener >& xListener ) throw( css::uno::RuntimeException ) { - // This class was designed to die by reference. And if user release his reference to us immediatly after calling this method + // This class was designed to die by reference. And if user release his reference to us immediately after calling this method // we can run into some problems. So we hold us self alive till this method ends. // Another reason: We can use this reference as source of sending event at the end too. css::uno::Reference< css::frame::XNotifyingDispatch > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY); diff --git a/framework/source/fwe/dispatch/interaction.cxx b/framework/source/fwe/dispatch/interaction.cxx index 43796114ed2d..2464439faafb 100644 --- a/framework/source/fwe/dispatch/interaction.cxx +++ b/framework/source/fwe/dispatch/interaction.cxx @@ -106,7 +106,7 @@ private: }; //--------------------------------------------------------------------------------------------------------- -// initialize instance with all neccessary informations +// initialize instance with all necessary informations // We use it without any further checks on our member then ...! //--------------------------------------------------------------------------------------------------------- RequestFilterSelect_Impl::RequestFilterSelect_Impl( const ::rtl::OUString& sURL ) diff --git a/framework/source/fwi/threadhelp/transactionmanager.cxx b/framework/source/fwi/threadhelp/transactionmanager.cxx index c20a407fdcc7..7f3ac4838ac4 100644 --- a/framework/source/fwi/threadhelp/transactionmanager.cxx +++ b/framework/source/fwi/threadhelp/transactionmanager.cxx @@ -110,7 +110,7 @@ void TransactionManager::setWorkingMode( EWorkingMode eMode ) } // Wait for current existing transactions then! - // (Only neccessary for changing to E_BEFORECLOSE or E_CLOSE! ... + // (Only necessary for changing to E_BEFORECLOSE or E_CLOSE! ... // otherwise; if you wait at setting E_WORK another thrad could finish a acquire-call during our unlock() and wait() call // ... and we will wait forever here!!!) // Don't forget to release access mutex before. diff --git a/framework/source/helper/persistentwindowstate.cxx b/framework/source/helper/persistentwindowstate.cxx index 9892c7ff4c98..3b0d7a4e2e64 100644 --- a/framework/source/helper/persistentwindowstate.cxx +++ b/framework/source/helper/persistentwindowstate.cxx @@ -264,7 +264,7 @@ void PersistentWindowState::implst_setWindowStateOnConfig(const css::uno::Refere SolarMutexGuard aSolarGuard; Window* pWindow = VCLUnoHelper::GetWindow(xWindow); - // check for system window is neccessary to guarantee correct pointer cast! + // check for system window is necessary to guarantee correct pointer cast! if ( (pWindow ) && (pWindow->IsSystemWindow()) @@ -300,7 +300,7 @@ void PersistentWindowState::implst_setWindowStateOnWindow(const css::uno::Refere if (!pWindow) return; - // check for system and work window - its neccessary to guarantee correct pointer cast! + // check for system and work window - its necessary to guarantee correct pointer cast! sal_Bool bSystemWindow = pWindow->IsSystemWindow(); sal_Bool bWorkWindow = (pWindow->GetType() == WINDOW_WORKWINDOW); diff --git a/framework/source/helper/statusindicatorfactory.cxx b/framework/source/helper/statusindicatorfactory.cxx index 28931e83bae0..3f6b34dfb9ed 100644 --- a/framework/source/helper/statusindicatorfactory.cxx +++ b/framework/source/helper/statusindicatorfactory.cxx @@ -372,7 +372,7 @@ void StatusIndicatorFactory::implts_makeParentVisibleIfAllowed() } } - // Ok the window should be made visible ... becuase it isnt currently visible. + // Ok the window should be made visible ... because it isnt currently visible. // BUT ..! // We need a Hack for our applications: They get her progress from the frame directly // on saving documents. Because there is no progress set on the MediaDescriptor. diff --git a/framework/source/inc/pattern/window.hxx b/framework/source/inc/pattern/window.hxx index 6604488d52ba..0510b86495ea 100644 --- a/framework/source/inc/pattern/window.hxx +++ b/framework/source/inc/pattern/window.hxx @@ -55,7 +55,7 @@ static ::rtl::OUString getWindowState(const css::uno::Reference< css::awt::XWind SolarMutexGuard aSolarGuard; Window* pWindow = VCLUnoHelper::GetWindow(xWindow); - // check for system window is neccessary to guarantee correct pointer cast! + // check for system window is necessary to guarantee correct pointer cast! if (pWindow!=NULL && pWindow->IsSystemWindow()) { sal_uLong nMask = WINDOWSTATE_MASK_ALL; @@ -82,7 +82,7 @@ static void setWindowState(const css::uno::Reference< css::awt::XWindow >& xWind SolarMutexGuard aSolarGuard; Window* pWindow = VCLUnoHelper::GetWindow(xWindow); - // check for system window is neccessary to guarantee correct pointer cast! + // check for system window is necessary to guarantee correct pointer cast! if ( (pWindow ) && (pWindow->IsSystemWindow()) && diff --git a/framework/source/jobs/helponstartup.cxx b/framework/source/jobs/helponstartup.cxx index d5f4fd8637e4..788476b0fddc 100644 --- a/framework/source/jobs/helponstartup.cxx +++ b/framework/source/jobs/helponstartup.cxx @@ -211,7 +211,7 @@ void SAL_CALL HelpOnStartup::disposing(const css::lang::EventObject& aEvent) // check for right environment. // If its not a DocumentEvent, which triggered this job, - // we cant work correctly! => return immediatly and do nothing + // we cant work correctly! => return immediately and do nothing ::rtl::OUString sEnvType = lEnvironment.getUnpackedValueOrDefault(PROP_ENVTYPE, ::rtl::OUString()); if (!sEnvType.equals(ENVTYPE_DOCUMENTEVENT)) return ::rtl::OUString(); diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx index 6063f203755e..1b071b65cba7 100644 --- a/framework/source/jobs/job.cxx +++ b/framework/source/jobs/job.cxx @@ -203,7 +203,7 @@ void Job::execute( /*IN*/ const css::uno::Sequence< css::beans::NamedValue >& lD css::uno::Reference< css::task::XJob > xSJob; css::uno::Sequence< css::beans::NamedValue > lJobArgs = impl_generateJobArgs(lDynamicArgs); - // It's neccessary to hold us self alive! + // It's necessary to hold us self alive! // Otherwhise we might die by ref count ... css::uno::Reference< css::task::XJobListener > xThis(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY); @@ -681,7 +681,7 @@ void SAL_CALL Job::jobFinished( /*IN*/ const css::uno::Reference< css::task::XAs /* SAFE { */ WriteGuard aWriteLock(m_aLock); - // It's neccessary to check this. + // It's necessary to check this. // May this job was cancelled by any other reason // some milliseconds before. :-) if (m_xJob.is() && m_xJob==xJob) diff --git a/framework/source/jobs/jobdata.cxx b/framework/source/jobs/jobdata.cxx index 8b496d15b0ea..69f5daa4e728 100644 --- a/framework/source/jobs/jobdata.cxx +++ b/framework/source/jobs/jobdata.cxx @@ -652,7 +652,7 @@ css::uno::Sequence< ::rtl::OUString > JobData::getEnabledJobsForEvent( const css // get all alias names of jobs, which are part of this job list // But Some of them can be disabled by it's time stamp values. - // We create an additional job name list iwth the same size, then the original list ... + // We create an additional job name list with the same size, then the original list ... // step over all job entries ... check her time stamps ... and put only job names to the // destination list, which represent an enabled job. css::uno::Sequence< ::rtl::OUString > lAllJobs = xJobList->getElementNames(); diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index 9cd9c5a54f60..332f3c911fb2 100644 --- a/framework/source/loadenv/loadenv.cxx +++ b/framework/source/loadenv/loadenv.cxx @@ -895,7 +895,7 @@ sal_Bool LoadEnv::impl_handleContent() m_lMediaDescriptor >> lDescriptor; css::util::URL aURL = m_aURL; - // get neccessary container to query for a handler object + // get necessary container to query for a handler object css::uno::Reference< css::lang::XMultiServiceFactory > xFactory(m_xSMGR->createInstance(SERVICENAME_CONTENTHANDLERFACTORY), css::uno::UNO_QUERY); css::uno::Reference< css::container::XContainerQuery > xQuery (xFactory , css::uno::UNO_QUERY); @@ -1580,7 +1580,7 @@ void LoadEnv::impl_reactForLoadingState() { SolarMutexGuard aSolarGuard; Window* pWindow = VCLUnoHelper::GetWindow(xWindow); - // check for system window is neccessary to guarantee correct pointer cast! + // check for system window is necessary to guarantee correct pointer cast! if (pWindow && pWindow->IsSystemWindow()) ((WorkWindow*)pWindow)->Minimize(); } diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 380a0159ca0b..6248ae18225d 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -500,7 +500,7 @@ void SAL_CALL AutoRecovery::dispatch(const css::util::URL& ::comphelper::SequenceAsHashMap lArgs(lArguments); // check if somewhere wish to disable recovery temp. for this office session - // This can be done immediatly ... must not been done asynchronous. + // This can be done immediately ... must not been done asynchronous. if ((eNewJob & AutoRecovery::E_DISABLE_AUTORECOVERY) == AutoRecovery::E_DISABLE_AUTORECOVERY) { // it's important to set a flag internaly, so AutoRecovery will be supressed - even if it's requested. @@ -2198,10 +2198,10 @@ AutoRecovery::ETimerType AutoRecovery::implts_saveDocs( sal_Bool bAl // ii) For a CrashSave ... add it to the list of dangerous documents and // save it after all other documents was saved successfully. That decrease // the chance for a crash inside a crash. - // On the other side it's not neccessary for documents, which are not modified. + // On the other side it's not necessary for documents, which are not modified. // They can be handled normaly - means we patch the corresponding configuration entry only. // iii) For a SessionSave ... ignore it! There is no time to wait for this save operation. - // Because the WindowManager will kill the process if it doesnt react immediatly. + // Because the WindowManager will kill the process if it doesnt react immediately. // On the other side we cant risk a concurrent save request ... because we know // that it will produce a crash. @@ -2810,7 +2810,7 @@ void AutoRecovery::implts_informListener( sal_Int32 eJ sFeature.appendAscii(RTL_CONSTASCII_STRINGPARAM(CMD_PROTOCOL)); // Attention: Because "eJob" is used as a flag field the order of checking these - // flags is importent. We must preferr job with higher priorities! + // flags is important. We must preferr job with higher priorities! // E.g. EmergencySave has an higher prio then AutoSave ... // On the other side there exist a well defined order between two different jobs. // e.g. PrepareEmergencySave must be done before EmergencySave is started of course. @@ -2968,7 +2968,7 @@ void AutoRecovery::implts_doEmergencySave(const DispatchParams& aParams) // during normal AutoSave more then once. Because // it postpone active documents and save it later. // That is normaly done by recalling it from a timer. - // Here we must do it immediatly! + // Here we must do it immediately! // Of course this method returns the right state - // because it knows, that we are running in ERMERGENCY SAVE mode .-) @@ -3038,7 +3038,7 @@ void AutoRecovery::implts_doSessionSave(const DispatchParams& aParams) // during normal AutoSave more then once. Because // it postpone active documents and save it later. // That is normaly done by recalling it from a timer. - // Here we must do it immediatly! + // Here we must do it immediately! // Of course this method returns the right state - // because it knows, that we are running in SESSION SAVE mode .-) @@ -3532,7 +3532,7 @@ void AutoRecovery::impl_establishProgress(const AutoRecovery::TDocumentInfo& } // But inside the MediaDescriptor we must set our own create progress ... - // in case there is not already anothe rprogress set. + // in case there is not already another progress set. rArgs.createItemIfMissing(::comphelper::MediaDescriptor::PROP_STATUSINDICATOR(), xInternalProgress); } diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx index f32d0354d396..628730fed95a 100644 --- a/framework/source/services/desktop.cxx +++ b/framework/source/services/desktop.cxx @@ -841,7 +841,7 @@ void SAL_CALL Desktop::setActiveFrame( const css::uno::Reference< css::frame::XF // If nothing will change - do nothing! // Otherwise set new active frame ... // and deactivate last frame. - // It's neccessary for our FrameActionEvent listener on a frame! + // It's necessary for our FrameActionEvent listener on a frame! css::uno::Reference< css::frame::XFrame > xLastActiveChild = m_aChildTaskContainer.getActive(); if( xLastActiveChild != xFrame ) { @@ -1036,7 +1036,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const ::r // force using of "if() else if() ..." //----------------------------------------------------------------------------------------------------- - // get threadsafe some neccessary member which are neccessary for following functionality + // get threadsafe some necessary member which are neccessary for following functionality /* SAFE { */ ReadGuard aReadLock( m_aLock ); css::uno::Reference< css::lang::XMultiServiceFactory > xFactory = m_xFactory; @@ -1086,7 +1086,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Desktop::findFrame( const ::r // But note: Such flags are not valid for the desktop - especialy SIBLINGS or PARENT. //------------------------------------------------------------------------------------------------- - // get threadsafe some neccessary member which are neccessary for following functionality + // get threadsafe some necessary member which are neccessary for following functionality /* SAFE { */ aReadLock.lock(); ::rtl::OUString sOwnName = m_sName; @@ -1179,7 +1179,7 @@ void SAL_CALL Desktop::dispose() // Now - we are alone and its the first call of this method ... // otherwise call before had thrown a DisposedException / hopefully .-) - // But we dont use the transaction object created before ... we reset it immediatly ... + // But we dont use the transaction object created before ... we reset it immediately ... // two lines of code ... for what ? // The answer: We wished to synchronize concurrent dispose() calls -> OK // But next line will wait for all currently running transaction (even if they diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 6f2ff40eaa74..ba54b20608f5 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -414,7 +414,7 @@ void SAL_CALL Frame::setActiveFrame( const css::uno::Reference< css::frame::XFra /* SAFE AREA ----------------------------------------------------------------------------------------------- */ WriteGuard aWriteLock( m_aLock ); - // Copy neccessary member for threadsafe access! + // Copy necessary member for threadsafe access! // m_aChildFrameContainer is threadsafe himself and he live if we live!!! // ...and our transaction is non breakable too ... css::uno::Reference< css::frame::XFrame > xActiveChild = m_aChildFrameContainer.getActive(); @@ -771,7 +771,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const ::rtl // force using of "if() else if() ..." //----------------------------------------------------------------------------------------------------- - // get threadsafe some neccessary member which are neccessary for following functionality + // get threadsafe some necessary member which are neccessary for following functionality /* SAFE { */ ReadGuard aReadLock( m_aLock ); css::uno::Reference< css::frame::XFrame > xParent ( m_xParent, css::uno::UNO_QUERY ); @@ -863,7 +863,7 @@ css::uno::Reference< css::frame::XFrame > SAL_CALL Frame::findFrame( const ::rtl // TASK and CREATE are handled special. //------------------------------------------------------------------------------------------------- - // get threadsafe some neccessary member which are neccessary for following functionality + // get threadsafe some necessary member which are neccessary for following functionality /* SAFE { */ aReadLock.lock(); ::rtl::OUString sOwnName = m_sName; @@ -1058,8 +1058,8 @@ void SAL_CALL Frame::activate() throw( css::uno::RuntimeException ) /* SAFE AREA ----------------------------------------------------------------------------------------------- */ WriteGuard aWriteLock( m_aLock ); - // Copy neccessary member and free the lock. - // It's not neccessary for m_aChildFrameContainer ... because + // Copy necessary member and free the lock. + // It's not necessary for m_aChildFrameContainer ... because // he is threadsafe himself and live if we live. // We use a registered transaction to prevent us against // breaks during this operation! @@ -1099,7 +1099,7 @@ void SAL_CALL Frame::activate() throw( css::uno::RuntimeException ) // But we do nothing then! We are already activated. xParent->activate(); } - // Its neccessary to send event NOW - not before. + // Its necessary to send event NOW - not before. // Activation goes from bottom to top! // Thats the reason to activate parent first and send event now. implts_sendFrameActionEvent( css::frame::FrameAction_FRAME_ACTIVATED ); @@ -1158,7 +1158,7 @@ void SAL_CALL Frame::deactivate() throw( css::uno::RuntimeException ) /* SAFE AREA ----------------------------------------------------------------------------------------------- */ WriteGuard aWriteLock( m_aLock ); - // Copy neccessary member and free the lock. + // Copy necessary member and free the lock. css::uno::Reference< css::frame::XFrame > xActiveChild = m_aChildFrameContainer.getActive() ; css::uno::Reference< css::frame::XFramesSupplier > xParent ( m_xParent, css::uno::UNO_QUERY ) ; css::uno::Reference< css::frame::XFrame > xThis ( static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY ); @@ -1988,7 +1988,7 @@ css::uno::Reference< css::task::XStatusIndicator > SAL_CALL Frame::createStatusI /* SAFE AREA ----------------------------------------------------------------------------------------------- */ ReadGuard aReadLock( m_aLock ); - // Make snapshot of neccessary member and define default return value. + // Make snapshot of necessary member and define default return value. css::uno::Reference< css::task::XStatusIndicator > xExternal(m_xIndicatorInterception.get(), css::uno::UNO_QUERY); css::uno::Reference< css::task::XStatusIndicatorFactory > xFactory = m_xIndicatorFactoryHelper; @@ -2424,7 +2424,7 @@ void SAL_CALL Frame::disposing( const css::lang::EventObject& aEvent ) throw( cs if( aEvent.Source == m_xContainerWindow ) { - // NECCESSARY: Impl-method is threadsafe by himself! + // NECESSARY: Impl-method is threadsafe by himself! aWriteLock.unlock(); implts_stopWindowListening(); aWriteLock.lock(); @@ -2797,7 +2797,7 @@ void Frame::implts_setIconOnWindow() TransactionGuard aTransaction( m_aTransactionManager, E_HARDEXCEPTIONS ); /* SAFE AREA ----------------------------------------------------------------------------------------------- */ - // Make snapshot of neccessary members and release lock. + // Make snapshot of necessary members and release lock. ReadGuard aReadLock( m_aLock ); css::uno::Reference< css::awt::XWindow > xContainerWindow( m_xContainerWindow, css::uno::UNO_QUERY ); css::uno::Reference< css::frame::XController > xController ( m_xController , css::uno::UNO_QUERY ); @@ -2897,7 +2897,7 @@ void Frame::implts_startWindowListening() TransactionGuard aTransaction( m_aTransactionManager, E_HARDEXCEPTIONS ); /* SAFE AREA ----------------------------------------------------------------------------------------------- */ - // Make snapshot of neccessary member! + // Make snapshot of necessary member! ReadGuard aReadLock( m_aLock ); css::uno::Reference< css::awt::XWindow > xContainerWindow = m_xContainerWindow ; css::uno::Reference< css::lang::XMultiServiceFactory > xFactory = m_xFactory ; @@ -2937,7 +2937,7 @@ void Frame::implts_stopWindowListening() TransactionGuard aTransaction( m_aTransactionManager, E_SOFTEXCEPTIONS ); /* SAFE AREA ----------------------------------------------------------------------------------------------- */ - // Make snapshot of neccessary member! + // Make snapshot of necessary member! ReadGuard aReadLock( m_aLock ); css::uno::Reference< css::awt::XWindow > xContainerWindow = m_xContainerWindow ; css::uno::Reference< css::lang::XMultiServiceFactory > xFactory = m_xFactory ; @@ -3112,7 +3112,7 @@ void Frame::impl_checkMenuCloser() xNewCloserFrame = this; } - // Look for neccessary actions ... + // Look for necessary actions ... // Only if the closer state must be moved from one frame to another one // or must be enabled/disabled at all. /* STATIC SAFE { */ diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index 67012ed2b76b..a015114f96d6 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -1103,7 +1103,7 @@ css::uno::Reference< css::container::XNameAccess > PathSettings::fa_getCfgOld() ::comphelper::ConfigurationHelper::openConfig( comphelper::getComponentContext(xSMGR), CFG_NODE_OLD, - ::comphelper::ConfigurationHelper::E_STANDARD), // not readonly! Somtimes we need write access there !!! + ::comphelper::ConfigurationHelper::E_STANDARD), // not readonly! Sometimes we need write access there !!! css::uno::UNO_QUERY_THROW); // SAFE -> diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx index 6bbdb003c06f..4896af387322 100644 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -945,12 +945,12 @@ throw ( NoSuchElementException, RuntimeException ) // Fill return value with result if ( bSubstitutionCompleted ) { - // Substitution successfull! + // Substitution successful! aResult = aWorkText; } else { - // Substitution not successfull! + // Substitution not successful! if ( nDepth == nMaxRecursiveDepth ) { // recursion depth reached! diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx index c8bdc8e4fbdc..f101ef1cbee9 100644 --- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx @@ -404,7 +404,7 @@ ModuleUIConfigurationManager::UIElementData* ModuleUIConfigurationManager::impl } } - // Not successfull, we have to look into our default vector/boost::unordered_map combination + // Not successful, we have to look into our default vector/boost::unordered_map combination UIElementDataHashMap& rDefaultHashMap = m_aUIElements[LAYER_DEFAULT][nElementType].aElementsHashMap; pIter = rDefaultHashMap.find( aResourceURL ); if ( pIter != rDefaultHashMap.end() ) diff --git a/framework/source/uiconfiguration/uicategorydescription.cxx b/framework/source/uiconfiguration/uicategorydescription.cxx index df3943d3be87..0179d71eb00f 100644 --- a/framework/source/uiconfiguration/uicategorydescription.cxx +++ b/framework/source/uiconfiguration/uicategorydescription.cxx @@ -73,7 +73,7 @@ namespace framework // Configuration access class for PopupMenuControllerFactory implementation //***************************************************************************************************************** -class ConfigurationAccess_UICategory : // Order is neccessary for right initialization! +class ConfigurationAccess_UICategory : // Order is necessary for right initialization! private ThreadHelpBase , public ::cppu::WeakImplHelper2 { diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx index 8ed6853c4110..f31e416dc010 100644 --- a/framework/source/uiconfiguration/windowstateconfiguration.cxx +++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx @@ -128,7 +128,7 @@ class ConfigurationAccess_WindowState : // interfaces public XNameContainer , public XContainerListener , // baseclasses - // Order is neccessary for right initialization! + // Order is necessary for right initialization! private ThreadHelpBase , public ::cppu::OWeakObject { @@ -197,7 +197,7 @@ class ConfigurationAccess_WindowState : // interfaces WINDOWSTATE_MASK_DOCKSIZE = 32768 }; - // Cache structure. Valid values are described by tje eMask member. All other values should not be + // Cache structure. Valid values are described by the eMask member. All other values should not be // provided to outside code! struct WindowStateInfo { -- cgit