diff options
Diffstat (limited to 'sot/source/unoolestorage/xolesimplestorage.cxx')
-rw-r--r-- | sot/source/unoolestorage/xolesimplestorage.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx index 1725a990f3d3..1de1f56792a7 100644 --- a/sot/source/unoolestorage/xolesimplestorage.cxx +++ b/sot/source/unoolestorage/xolesimplestorage.cxx @@ -267,7 +267,7 @@ void SAL_CALL OLESimpleStorage::insertByName( const OUString& aName, const uno:: if ( m_bDisposed ) throw lang::DisposedException(); - if ( !m_pStorage ) + if ( !m_pStorage ) throw uno::RuntimeException(); uno::Reference< io::XStream > xStream; @@ -316,7 +316,7 @@ void SAL_CALL OLESimpleStorage::removeByName( const OUString& aName ) if ( m_bDisposed ) throw lang::DisposedException(); - if ( !m_pStorage ) + if ( !m_pStorage ) throw uno::RuntimeException(); if ( !m_bNoTemporaryCopy && !m_xStream.is() ) @@ -350,7 +350,7 @@ void SAL_CALL OLESimpleStorage::replaceByName( const OUString& aName, const uno: } catch( container::ElementExistException& ) { - uno::Any aCaught( ::cppu::getCaughtException() ); + uno::Any aCaught( ::cppu::getCaughtException() ); throw lang::WrappedTargetException("Can't copy raw stream", uno::Reference< uno::XInterface >(), @@ -366,7 +366,7 @@ uno::Any SAL_CALL OLESimpleStorage::getByName( const OUString& aName ) if ( m_bDisposed ) throw lang::DisposedException(); - if ( !m_pStorage ) + if ( !m_pStorage ) throw uno::RuntimeException(); if ( !m_pStorage->IsContained( aName ) ) @@ -468,7 +468,7 @@ uno::Sequence< OUString > SAL_CALL OLESimpleStorage::getElementNames() if ( m_bDisposed ) throw lang::DisposedException(); - if ( !m_pStorage ) + if ( !m_pStorage ) throw uno::RuntimeException(); SvStorageInfoList aList; @@ -495,7 +495,7 @@ sal_Bool SAL_CALL OLESimpleStorage::hasByName( const OUString& aName ) if ( m_bDisposed ) throw lang::DisposedException(); - if ( !m_pStorage ) + if ( !m_pStorage ) throw uno::RuntimeException(); bool bResult = m_pStorage->IsContained( aName ); @@ -528,7 +528,7 @@ sal_Bool SAL_CALL OLESimpleStorage::hasElements() if ( m_bDisposed ) throw lang::DisposedException(); - if ( !m_pStorage ) + if ( !m_pStorage ) throw uno::RuntimeException(); SvStorageInfoList aList; @@ -556,7 +556,7 @@ void SAL_CALL OLESimpleStorage::dispose() if ( m_pListenersContainer ) { - lang::EventObject aSource( static_cast< ::cppu::OWeakObject* >(this) ); + lang::EventObject aSource( static_cast< ::cppu::OWeakObject* >(this) ); m_pListenersContainer->disposeAndClear( aSource ); } @@ -608,7 +608,7 @@ void SAL_CALL OLESimpleStorage::commit() if ( m_bDisposed ) throw lang::DisposedException(); - if ( !m_pStorage ) + if ( !m_pStorage ) throw uno::RuntimeException(); if ( !m_bNoTemporaryCopy && !m_xStream.is() ) @@ -631,7 +631,7 @@ void SAL_CALL OLESimpleStorage::revert() if ( m_bDisposed ) throw lang::DisposedException(); - if ( !m_pStorage ) + if ( !m_pStorage ) throw uno::RuntimeException(); if ( !m_bNoTemporaryCopy && !m_xStream.is() ) |