diff options
Diffstat (limited to 'sot/source/unoolestorage/xolesimplestorage.cxx')
-rw-r--r-- | sot/source/unoolestorage/xolesimplestorage.cxx | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx index 9eff44665900..d8df5f6236f0 100644 --- a/sot/source/unoolestorage/xolesimplestorage.cxx +++ b/sot/source/unoolestorage/xolesimplestorage.cxx @@ -179,7 +179,6 @@ void OLESimpleStorage::UpdateOriginal_Impl() void OLESimpleStorage::InsertInputStreamToStorage_Impl( BaseStorage* pStorage, const OUString & aName, const uno::Reference< io::XInputStream >& xInputStream ) - throw ( uno::Exception ) { if ( !pStorage || aName.isEmpty() || !xInputStream.is() ) throw uno::RuntimeException(); @@ -222,7 +221,6 @@ void OLESimpleStorage::InsertInputStreamToStorage_Impl( BaseStorage* pStorage, c void OLESimpleStorage::InsertNameAccessToStorage_Impl( BaseStorage* pStorage, const OUString & aName, const uno::Reference< container::XNameAccess >& xNameAccess ) - throw ( uno::Exception ) { if ( !pStorage || aName.isEmpty() || !xNameAccess.is() ) throw uno::RuntimeException(); @@ -269,10 +267,6 @@ void OLESimpleStorage::InsertNameAccessToStorage_Impl( BaseStorage* pStorage, co void SAL_CALL OLESimpleStorage::insertByName( const OUString& aName, const uno::Any& aElement ) - throw ( lang::IllegalArgumentException, - container::ElementExistException, - lang::WrappedTargetException, - uno::RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -321,9 +315,6 @@ void SAL_CALL OLESimpleStorage::insertByName( const OUString& aName, const uno:: void SAL_CALL OLESimpleStorage::removeByName( const OUString& aName ) - throw ( container::NoSuchElementException, - lang::WrappedTargetException, - uno::RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -350,10 +341,6 @@ void SAL_CALL OLESimpleStorage::removeByName( const OUString& aName ) void SAL_CALL OLESimpleStorage::replaceByName( const OUString& aName, const uno::Any& aElement ) - throw ( lang::IllegalArgumentException, - container::NoSuchElementException, - lang::WrappedTargetException, - uno::RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -378,9 +365,6 @@ void SAL_CALL OLESimpleStorage::replaceByName( const OUString& aName, const uno: uno::Any SAL_CALL OLESimpleStorage::getByName( const OUString& aName ) - throw ( container::NoSuchElementException, - lang::WrappedTargetException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -484,7 +468,6 @@ uno::Any SAL_CALL OLESimpleStorage::getByName( const OUString& aName ) uno::Sequence< OUString > SAL_CALL OLESimpleStorage::getElementNames() - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -512,7 +495,6 @@ uno::Sequence< OUString > SAL_CALL OLESimpleStorage::getElementNames() sal_Bool SAL_CALL OLESimpleStorage::hasByName( const OUString& aName ) - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -535,7 +517,6 @@ sal_Bool SAL_CALL OLESimpleStorage::hasByName( const OUString& aName ) uno::Type SAL_CALL OLESimpleStorage::getElementType() - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -547,7 +528,6 @@ uno::Type SAL_CALL OLESimpleStorage::getElementType() sal_Bool SAL_CALL OLESimpleStorage::hasElements() - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -574,7 +554,6 @@ sal_Bool SAL_CALL OLESimpleStorage::hasElements() void SAL_CALL OLESimpleStorage::dispose() - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -599,7 +578,6 @@ void SAL_CALL OLESimpleStorage::dispose() void SAL_CALL OLESimpleStorage::addEventListener( const uno::Reference< lang::XEventListener >& xListener ) - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -615,7 +593,6 @@ void SAL_CALL OLESimpleStorage::addEventListener( void SAL_CALL OLESimpleStorage::removeEventListener( const uno::Reference< lang::XEventListener >& xListener ) - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -631,9 +608,6 @@ void SAL_CALL OLESimpleStorage::removeEventListener( void SAL_CALL OLESimpleStorage::commit() - throw ( css::io::IOException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -657,9 +631,6 @@ void SAL_CALL OLESimpleStorage::commit() void SAL_CALL OLESimpleStorage::revert() - throw ( css::io::IOException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -686,7 +657,6 @@ void SAL_CALL OLESimpleStorage::revert() uno::Sequence< sal_Int8 > SAL_CALL OLESimpleStorage::getClassID() - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -700,34 +670,28 @@ uno::Sequence< sal_Int8 > SAL_CALL OLESimpleStorage::getClassID() } OUString SAL_CALL OLESimpleStorage::getClassName() - throw ( uno::RuntimeException, std::exception ) { return OUString(); } void SAL_CALL OLESimpleStorage::setClassInfo( const uno::Sequence< sal_Int8 >& /*aClassID*/, const OUString& /*sClassName*/ ) - throw ( lang::NoSupportException, - uno::RuntimeException, std::exception ) { throw lang::NoSupportException(); } // XServiceInfo OUString SAL_CALL OLESimpleStorage::getImplementationName() - throw ( uno::RuntimeException, std::exception ) { return OUString("com.sun.star.comp.embed.OLESimpleStorage"); } sal_Bool SAL_CALL OLESimpleStorage::supportsService( const OUString& ServiceName ) - throw ( uno::RuntimeException, std::exception ) { return cppu::supportsService(this, ServiceName); } uno::Sequence< OUString > SAL_CALL OLESimpleStorage::getSupportedServiceNames() - throw ( uno::RuntimeException, std::exception ) { return { "com.sun.star.embed.OLESimpleStorage" }; } |