diff options
author | Xisco Fauli <anistenis@gmail.com> | 2011-04-10 20:29:44 +0200 |
---|---|---|
committer | Christina Rossmanith <ChrRossmanith@web.de> | 2011-04-12 20:42:49 +0200 |
commit | 77751521699dd6b50dd1cac4621a0f0fcb2730c4 (patch) | |
tree | 7204fef2c2fd56d8f7c48f9e61a4fc458aa505d0 /embeddedobj/source/msole/oleembed.cxx | |
parent | fbc18ae2f2c9ca12e57808583fadba2aea3b7e22 (diff) |
Remove commented code in libs-core/embeddedobj (partially)
Diffstat (limited to 'embeddedobj/source/msole/oleembed.cxx')
-rw-r--r-- | embeddedobj/source/msole/oleembed.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/embeddedobj/source/msole/oleembed.cxx b/embeddedobj/source/msole/oleembed.cxx index 4d925b9daa91..85dcfd8aa139 100644 --- a/embeddedobj/source/msole/oleembed.cxx +++ b/embeddedobj/source/msole/oleembed.cxx @@ -521,7 +521,6 @@ void SAL_CALL OleEmbeddedObject::changeState( sal_Int32 nNewState ) m_pOleComponent->CloseObject(); } - // GetRidOfComponent(); aGuard.clear(); StateChangeNotification_Impl( sal_False, nOldState, m_nObjectState ); aGuard.reset(); @@ -700,7 +699,6 @@ namespace //Dump the objects content to a tempfile, just the "CONTENTS" stream if //there is one for non-compound documents, otherwise the whole content. - // //On success a file is returned which must be removed by the caller rtl::OUString lcl_ExtractObject(::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xFactory, ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > xObjectStream) @@ -834,8 +832,6 @@ void SAL_CALL OleEmbeddedObject::doVerb( sal_Int32 nVerbID ) throw; } - // the following notification will be done asynchronously - // StateChangeNotification_Impl( sal_False, nOldState, m_nObjectState ); } else #endif @@ -1093,9 +1089,6 @@ sal_Int64 SAL_CALL OleEmbeddedObject::getStatus( sal_Int64 nResult = m_nStatus; else if ( m_pOleComponent ) { - // OLE should allow to get status even in loaded state - // if ( m_nObjectState == embed::EmbedStates::LOADED ) - // changeState( m_nObjectState == embed::EmbedStates::RUNNING ); m_nStatus = m_pOleComponent->GetMiscStatus( nAspect ); m_nStatusAspect = nAspect; |