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 --- embeddedobj/source/msole/olecomponent.cxx | 8 ++++---- embeddedobj/source/msole/oleembed.cxx | 4 ++-- embeddedobj/source/msole/olepersist.cxx | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'embeddedobj') diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx index 2acb811863b9..f7da74084f8c 100644 --- a/embeddedobj/source/msole/olecomponent.cxx +++ b/embeddedobj/source/msole/olecomponent.cxx @@ -264,7 +264,7 @@ HRESULT OpenIStorageFromURL_Impl( const ::rtl::OUString& aURL, IStorage** ppISto ::rtl::OUString aFilePath; if ( !ppIStorage || ::osl::FileBase::getSystemPathFromFileURL( aURL, aFilePath ) != ::osl::FileBase::E_None ) - throw uno::RuntimeException(); // TODO: something dangerous happend + throw uno::RuntimeException(); // TODO: something dangerous happened return StgOpenStorage( reinterpret_cast(aFilePath.getStr()), NULL, @@ -570,7 +570,7 @@ void OleComponent::CreateNewIStorage_Impl() // open an IStorage based on the temporary file ::rtl::OUString aTempFilePath; if ( ::osl::FileBase::getSystemPathFromFileURL( aTempURL, aTempFilePath ) != ::osl::FileBase::E_None ) - throw uno::RuntimeException(); // TODO: something dangerous happend + throw uno::RuntimeException(); // TODO: something dangerous happened HRESULT hr = StgCreateDocfile( reinterpret_cast(aTempFilePath.getStr()), STGM_CREATE | STGM_READWRITE | STGM_TRANSACTED | STGM_DELETEONRELEASE, 0, &m_pNativeImpl->m_pIStorage ); if ( FAILED( hr ) || !m_pNativeImpl->m_pIStorage ) @@ -838,7 +838,7 @@ void OleComponent::CreateObjectFromFile( const ::rtl::OUString& aFileURL ) ::rtl::OUString aFilePath; if ( ::osl::FileBase::getSystemPathFromFileURL( aFileURL, aFilePath ) != ::osl::FileBase::E_None ) - throw uno::RuntimeException(); // TODO: something dangerous happend + throw uno::RuntimeException(); // TODO: something dangerous happened HRESULT hr = OleCreateFromFile( CLSID_NULL, reinterpret_cast(aFilePath.getStr()), @@ -868,7 +868,7 @@ void OleComponent::CreateLinkFromFile( const ::rtl::OUString& aFileURL ) ::rtl::OUString aFilePath; if ( ::osl::FileBase::getSystemPathFromFileURL( aFileURL, aFilePath ) != ::osl::FileBase::E_None ) - throw uno::RuntimeException(); // TODO: something dangerous happend + throw uno::RuntimeException(); // TODO: something dangerous happened HRESULT hr = OleCreateLinkToFile( reinterpret_cast(aFilePath.getStr()), IID_IUnknown, diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx index da15ae0ec558..44f6585f419f 100644 --- a/embeddedobj/source/msole/oleembed.cxx +++ b/embeddedobj/source/msole/oleembed.cxx @@ -321,7 +321,7 @@ sal_Bool OleEmbeddedObject::TryToConvertToOOo() xSeekable->seek( 0 ); xLoadable->load( aArgs ); - // the model is successfuly loaded, create a new storage and store the model to the storage + // the model is successfully loaded, create a new storage and store the model to the storage uno::Reference< embed::XStorage > xTmpStorage = CreateTemporarySubstorage( aStorageName ); xStorDoc->storeToStorage( xTmpStorage, uno::Sequence< beans::PropertyValue >() ); xDocument->close( sal_True ); @@ -422,7 +422,7 @@ sal_Bool OleEmbeddedObject::TryToConvertToOOo() if ( bResult ) { - // the conversion was done successfuly, now the additional initializations should happen + // the conversion was done successfully, now the additional initializations should happen MoveListeners(); m_xWrappedObject->setClientSite( m_xClientSite ); diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx index e9daacaf3f6c..165f2dd2832e 100644 --- a/embeddedobj/source/msole/olepersist.cxx +++ b/embeddedobj/source/msole/olepersist.cxx @@ -1398,7 +1398,7 @@ void SAL_CALL OleEmbeddedObject::setPersistentEntry( catch( const uno::Exception& ) { // TODO/LATER: detect classID of the object if possible - // means that the object inprocess server could not be successfuly instantiated + // means that the object inprocess server could not be successfully instantiated GetRidOfComponent(); } -- cgit