diff options
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/inc/commonembobj.hxx | 2 | ||||
-rw-r--r-- | embeddedobj/source/msole/olecomponent.cxx | 1 | ||||
-rw-r--r-- | embeddedobj/source/msole/oleembed.cxx | 2 | ||||
-rw-r--r-- | embeddedobj/test/MainThreadExecutor/xexecutor.cxx | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/embeddedobj/source/inc/commonembobj.hxx b/embeddedobj/source/inc/commonembobj.hxx index cdeab464ebaa..10a9de957afc 100644 --- a/embeddedobj/source/inc/commonembobj.hxx +++ b/embeddedobj/source/inc/commonembobj.hxx @@ -92,7 +92,7 @@ protected: bool m_bClosed; sal_Int32 m_nObjectState; - sal_Int32 m_nTargetState; // should be -1 exept during state changing + sal_Int32 m_nTargetState; // should be -1 except during state changing sal_Int32 m_nUpdateMode; ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext; diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx index eb248ec1a946..e8d65883f85d 100644 --- a/embeddedobj/source/msole/olecomponent.cxx +++ b/embeddedobj/source/msole/olecomponent.cxx @@ -670,7 +670,6 @@ sal_Bool OleComponent::InitializeObject_Impl() if ( FAILED( hr ) || !m_pNativeImpl->m_pViewObject2 ) return sal_False; - // remove all the caches IOleCache* pIOleCache = NULL; if ( SUCCEEDED( m_pNativeImpl->m_pObj->QueryInterface( IID_IOleCache, (void**)&pIOleCache ) ) && pIOleCache ) diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx index 800166167746..36d73243208c 100644 --- a/embeddedobj/source/msole/oleembed.cxx +++ b/embeddedobj/source/msole/oleembed.cxx @@ -388,7 +388,7 @@ bool OleEmbeddedObject::TryToConvertToOOo() close( sal_True ); } catch( const uno::Exception& ) {} - m_xParentStorage->dispose(); // ??? the storage has information loss, it should be closed without commiting! + m_xParentStorage->dispose(); // ??? the storage has information loss, it should be closed without committing! throw uno::RuntimeException(); // the repairing is not possible } case 2: diff --git a/embeddedobj/test/MainThreadExecutor/xexecutor.cxx b/embeddedobj/test/MainThreadExecutor/xexecutor.cxx index e696aaa25616..8a4cde521d19 100644 --- a/embeddedobj/test/MainThreadExecutor/xexecutor.cxx +++ b/embeddedobj/test/MainThreadExecutor/xexecutor.cxx @@ -77,7 +77,7 @@ uno::Any SAL_CALL UNOMainThreadExecutor::execute( const uno::Sequence< beans::Na // while( !pExecutor->isExecuted() ) // ::osl::Thread::yield(); - // TODO: implement transfering of the return values and exceptions + // TODO: implement transferring of the return values and exceptions return uno::Any(); } |