From 799cc41b53a59c543408fa5370e107c2c57a2904 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 7 Jul 2015 23:14:30 +0200 Subject: Fix typos Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0 Reviewed-on: https://gerrit.libreoffice.org/16834 Tested-by: Jenkins Reviewed-by: Julien Nabet --- framework/source/dispatch/dispatchprovider.cxx | 2 +- framework/source/fwe/classes/addonsoptions.cxx | 2 +- framework/source/inc/loadenv/loadenv.hxx | 2 +- framework/source/services/autorecovery.cxx | 8 ++++---- framework/source/services/frame.cxx | 8 ++++---- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'framework') diff --git a/framework/source/dispatch/dispatchprovider.cxx b/framework/source/dispatch/dispatchprovider.cxx index 99bf5b2b0f7c..32bd408ebdec 100644 --- a/framework/source/dispatch/dispatchprovider.cxx +++ b/framework/source/dispatch/dispatchprovider.cxx @@ -441,7 +441,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame /** @short search for a registered protocol handler and ask him for a dispatch object - @descr Wes earch a suitable handler inside our cfg package org.openoffice.Office.ProtocolHandler. + @descr We search a suitable handler inside our cfg package org.openoffice.Office.ProtocolHandler. If we found anyone, we create and initialize it. Initialize means: we set our owner frame on it as context information. He can use it or leave it. Of course - we are aware of handler implementations, which doesn't support initialization. It's an optional feature. diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx index f99a4f155dec..743e45bdd65e 100644 --- a/framework/source/fwe/classes/addonsoptions.cxx +++ b/framework/source/fwe/classes/addonsoptions.cxx @@ -1639,7 +1639,7 @@ Mutex& AddonsOptions::GetOwnStaticMutex() // ... we must create a new one. Protect follow code with the global mutex - // It must be - we create a static variable! MutexGuard aGuard( Mutex::getGlobalMutex() ); - // We must check our pointer again - because it can be that another instance of our class will be fastr then these! + // We must check our pointer again - because it can be that another instance of our class will be faster than these! if( pMutex == NULL ) { // Create the new mutex and set it for return on static variable. diff --git a/framework/source/inc/loadenv/loadenv.hxx b/framework/source/inc/loadenv/loadenv.hxx index d680bea4f458..5eef5841daf1 100644 --- a/framework/source/inc/loadenv/loadenv.hxx +++ b/framework/source/inc/loadenv/loadenv.hxx @@ -303,7 +303,7 @@ public: */ void startLoading(); - /** @short wait for an alreay running load request (started by calling + /** @short wait for an already running load request (started by calling startLoading() before). @descr The timeout parameter can be used to wait some times only diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 1d6c55b75464..15f00d4cf489 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -2504,9 +2504,9 @@ void AutoRecovery::implts_registerDocument(const css::uno::Reference< css::frame // classify the used application module, which is used by this document. implts_specifyAppModuleAndFactory(aNew); - // Hack! Check for "illegal office documents" ... as e.g. the Basic IDE + // Hack! Check for "illegal office documents"... as e.g. the Basic IDE // Its not really a full featured office document. It doesn't provide an URL, any filter, a factory URL etcpp. - // TODO file bug to Basci IDE developers. They must remove the office document API from its service. + // TODO file bug to Basic IDE developers. They must remove the office document API from its service. if ( (aNew.OrgURL.isEmpty()) && (aNew.FactoryURL.isEmpty()) @@ -2598,8 +2598,8 @@ void AutoRecovery::implts_deregisterDocument(const css::uno::Reference< css::fra } /* SAFE */ /* This method is called within disposing() of the document too. But there it's not a good idea to - deregister us as listener. Furter it make no sense - because the broadcaster dies. - So we suppress deregistration in such case ... + deregister us as listener. Further it make no sense - because the broadcaster dies. + So we suppress deregistration in such case... */ if (bStopListening) implts_stopModifyListeningOnDoc(aInfo); diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 58a890f68ba7..a3f7bd700584 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -1738,14 +1738,14 @@ void SAL_CALL Frame::close( sal_Bool bDeliverOwnership ) throw( css::util::Close { TransactionGuard aTransaction( m_aTransactionManager, E_HARDEXCEPTIONS ); - // At the end of this method may we must dispose ourself ... - // and may nobody from outside hold a reference to us ... + // At the end of this method may we must dispose ourself... + // and may nobody from outside hold a reference to us... // then it's a good idea to do that by ourself. css::uno::Reference< css::uno::XInterface > xSelfHold( static_cast< ::cppu::OWeakObject* >(this) ); // Check any close listener before we look for currently running internal processes. - // Because if a listener disagree with this close() request - we hace time to finish this - // internal operations too ... + // Because if a listener disagree with this close() request - we have time to finish this + // internal operations too... // Note: container is threadsafe himself. css::lang::EventObject aSource (static_cast< ::cppu::OWeakObject*>(this)); ::cppu::OInterfaceContainerHelper* pContainer = m_aListenerContainer.getContainer( cppu::UnoType::get()); -- cgit