summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-03 17:11:39 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-03 17:14:16 +0100
commitf5ca04caca1b6888cdc6b00b8465a53e6d5cf38d (patch)
treecda73db2df15d821e0587f345edd7587953bdbdf /embeddedobj
parentecf00403376d13355fcf6fb7cd36b3500f19fc69 (diff)
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
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/source/msole/olecomponent.cxx8
-rw-r--r--embeddedobj/source/msole/oleembed.cxx4
-rw-r--r--embeddedobj/source/msole/olepersist.cxx2
3 files changed, 7 insertions, 7 deletions
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<LPCWSTR>(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<LPCWSTR>(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<LPCWSTR>(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<LPCWSTR>(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();
}