summaryrefslogtreecommitdiff
path: root/embeddedobj/source/msole/olecomponent.cxx
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-04-10 20:29:44 +0200
committerChristina Rossmanith <ChrRossmanith@web.de>2011-04-12 20:42:49 +0200
commit77751521699dd6b50dd1cac4621a0f0fcb2730c4 (patch)
tree7204fef2c2fd56d8f7c48f9e61a4fc458aa505d0 /embeddedobj/source/msole/olecomponent.cxx
parentfbc18ae2f2c9ca12e57808583fadba2aea3b7e22 (diff)
Remove commented code in libs-core/embeddedobj (partially)
Diffstat (limited to 'embeddedobj/source/msole/olecomponent.cxx')
-rw-r--r--embeddedobj/source/msole/olecomponent.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx
index 341cafce10a9..2d21b886a42f 100644
--- a/embeddedobj/source/msole/olecomponent.cxx
+++ b/embeddedobj/source/msole/olecomponent.cxx
@@ -680,8 +680,6 @@ sal_Bool OleComponent::InitializeObject_Impl()
if ( FAILED( hr ) || !m_pNativeImpl->m_pViewObject2 )
return sal_False;
- // not realy needed for now, since object is updated on saving
- // m_pNativeImpl->m_pViewObject2->SetAdvise( DVASPECT_CONTENT, 0, m_pImplAdviseSink );
// remove all the caches
IOleCache* pIOleCache = NULL;
@@ -746,8 +744,6 @@ void OleComponent::LoadEmbeddedObject( const ::rtl::OUString& aTempURL )
hr = OleLoad( m_pNativeImpl->m_pIStorage, IID_IUnknown, NULL, (void**)&m_pNativeImpl->m_pObj );
if ( FAILED( hr ) || !m_pNativeImpl->m_pObj )
{
- // STATSTG aStat;
- // m_pNativeImpl->m_pIStorage->Stat( &aStat, STATFLAG_NONAME );
throw uno::RuntimeException();
}
@@ -1350,8 +1346,6 @@ void OleComponent::StoreOwnTmpIfNecessary()
if ( FAILED( hr ) && hr != E_UNEXPECTED )
throw io::IOException(); // TODO
- // STATSTG aStat;
- // m_pNativeImpl->m_pIStorage->Stat( &aStat, STATFLAG_NONAME );
}
}