diff options
Diffstat (limited to 'sot/source/sdstor/unostorageholder.cxx')
-rw-r--r-- | sot/source/sdstor/unostorageholder.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sot/source/sdstor/unostorageholder.cxx b/sot/source/sdstor/unostorageholder.cxx index 55e3e2db4105..199a1310f6c2 100644 --- a/sot/source/sdstor/unostorageholder.cxx +++ b/sot/source/sdstor/unostorageholder.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -127,7 +127,7 @@ void SAL_CALL UNOStorageHolder::commited( const lang::EventObject& /*aEvent*/ ) throw uno::RuntimeException(); m_xStorage->copyToStorage( xTempStorage ); - + uno::Reference< lang::XComponent > xComp( xTempStorage, uno::UNO_QUERY ); if ( !xComp.is() ) throw uno::RuntimeException(); @@ -157,7 +157,7 @@ void SAL_CALL UNOStorageHolder::commited( const lang::EventObject& /*aEvent*/ ) uno::Any aMediaType; if ( rTempStorage->GetProperty( ::rtl::OUString::createFromAscii( "MediaType" ), aMediaType ) ) m_rSotStorage->SetProperty( ::rtl::OUString::createFromAscii( "MediaType" ), aMediaType ); - + m_rSotStorage->Commit(); } @@ -186,7 +186,7 @@ void SAL_CALL UNOStorageHolder::disposing( const lang::EventObject& /*Source*/ ) if ( m_rSotStorage.Is() ) m_rSotStorage = NULL; - + if ( m_pParentStorage ) { SotStorage* pTmp = m_pParentStorage; |