diff options
Diffstat (limited to 'package/source/xstor/ocompinstream.cxx')
-rw-r--r-- | package/source/xstor/ocompinstream.cxx | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/package/source/xstor/ocompinstream.cxx b/package/source/xstor/ocompinstream.cxx index c94d16c277b9..63bc7dc6eca4 100644 --- a/package/source/xstor/ocompinstream.cxx +++ b/package/source/xstor/ocompinstream.cxx @@ -75,7 +75,6 @@ OInputCompStream::~OInputCompStream() } uno::Any SAL_CALL OInputCompStream::queryInterface( const uno::Type& rType ) - throw( uno::RuntimeException, std::exception ) { uno::Any aReturn; @@ -105,10 +104,6 @@ uno::Any SAL_CALL OInputCompStream::queryInterface( const uno::Type& rType ) } sal_Int32 SAL_CALL OInputCompStream::readBytes( uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) - throw ( io::NotConnectedException, - io::BufferSizeExceededException, - io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -121,10 +116,6 @@ sal_Int32 SAL_CALL OInputCompStream::readBytes( uno::Sequence< sal_Int8 >& aData } sal_Int32 SAL_CALL OInputCompStream::readSomeBytes( uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead ) - throw ( io::NotConnectedException, - io::BufferSizeExceededException, - io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -138,10 +129,6 @@ sal_Int32 SAL_CALL OInputCompStream::readSomeBytes( uno::Sequence< sal_Int8 >& a } void SAL_CALL OInputCompStream::skipBytes( sal_Int32 nBytesToSkip ) - throw ( io::NotConnectedException, - io::BufferSizeExceededException, - io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -155,9 +142,6 @@ void SAL_CALL OInputCompStream::skipBytes( sal_Int32 nBytesToSkip ) } sal_Int32 SAL_CALL OInputCompStream::available( ) - throw ( io::NotConnectedException, - io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -171,15 +155,11 @@ sal_Int32 SAL_CALL OInputCompStream::available( ) } void SAL_CALL OInputCompStream::closeInput( ) - throw ( io::NotConnectedException, - io::IOException, - uno::RuntimeException, std::exception ) { dispose(); } uno::Reference< io::XInputStream > SAL_CALL OInputCompStream::getInputStream() - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -192,7 +172,6 @@ uno::Reference< io::XInputStream > SAL_CALL OInputCompStream::getInputStream() } uno::Reference< io::XOutputStream > SAL_CALL OInputCompStream::getOutputStream() - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -233,7 +212,6 @@ void OInputCompStream::InternalDispose() } void SAL_CALL OInputCompStream::dispose( ) - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -260,7 +238,6 @@ void SAL_CALL OInputCompStream::dispose( ) } void SAL_CALL OInputCompStream::addEventListener( const uno::Reference< lang::XEventListener >& xListener ) - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -276,7 +253,6 @@ void SAL_CALL OInputCompStream::addEventListener( const uno::Reference< lang::XE } void SAL_CALL OInputCompStream::removeEventListener( const uno::Reference< lang::XEventListener >& xListener ) - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); if ( m_bDisposed ) @@ -290,8 +266,6 @@ void SAL_CALL OInputCompStream::removeEventListener( const uno::Reference< lang: } sal_Bool SAL_CALL OInputCompStream::hasByID( const OUString& sID ) - throw ( io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -316,9 +290,6 @@ sal_Bool SAL_CALL OInputCompStream::hasByID( const OUString& sID ) } OUString SAL_CALL OInputCompStream::getTargetByID( const OUString& sID ) - throw ( container::NoSuchElementException, - io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -340,9 +311,6 @@ OUString SAL_CALL OInputCompStream::getTargetByID( const OUString& sID ) } OUString SAL_CALL OInputCompStream::getTypeByID( const OUString& sID ) - throw ( container::NoSuchElementException, - io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -364,9 +332,6 @@ OUString SAL_CALL OInputCompStream::getTypeByID( const OUString& sID ) } uno::Sequence< beans::StringPair > SAL_CALL OInputCompStream::getRelationshipByID( const OUString& sID ) - throw ( container::NoSuchElementException, - io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -394,8 +359,6 @@ uno::Sequence< beans::StringPair > SAL_CALL OInputCompStream::getRelationshipByI } uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OInputCompStream::getRelationshipsByType( const OUString& sType ) - throw ( io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -429,7 +392,6 @@ uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OInputCompStream::g } uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OInputCompStream::getAllRelationships() - throw (io::IOException, uno::RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -457,9 +419,6 @@ uno::Sequence< uno::Sequence< beans::StringPair > > SAL_CALL OInputCompStream::g } void SAL_CALL OInputCompStream::insertRelationshipByID( const OUString& /*sID*/, const uno::Sequence< beans::StringPair >& /*aEntry*/, sal_Bool /*bReplace*/ ) - throw ( container::ElementExistException, - io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -476,9 +435,6 @@ void SAL_CALL OInputCompStream::insertRelationshipByID( const OUString& /*sID*/ } void SAL_CALL OInputCompStream::removeRelationshipByID( const OUString& /*sID*/ ) - throw ( container::NoSuchElementException, - io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -495,9 +451,6 @@ void SAL_CALL OInputCompStream::removeRelationshipByID( const OUString& /*sID*/ } void SAL_CALL OInputCompStream::insertRelationships( const uno::Sequence< uno::Sequence< beans::StringPair > >& /*aEntries*/, sal_Bool /*bReplace*/ ) - throw ( container::ElementExistException, - io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -514,8 +467,6 @@ void SAL_CALL OInputCompStream::insertRelationships( const uno::Sequence< uno:: } void SAL_CALL OInputCompStream::clearRelationships() - throw ( io::IOException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -532,7 +483,6 @@ void SAL_CALL OInputCompStream::clearRelationships() } uno::Reference< beans::XPropertySetInfo > SAL_CALL OInputCompStream::getPropertySetInfo() - throw ( uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -547,11 +497,6 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL OInputCompStream::getProperty } void SAL_CALL OInputCompStream::setPropertyValue( const OUString& aPropertyName, const uno::Any& /*aValue*/ ) - throw ( beans::UnknownPropertyException, - beans::PropertyVetoException, - lang::IllegalArgumentException, - lang::WrappedTargetException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -574,9 +519,6 @@ void SAL_CALL OInputCompStream::setPropertyValue( const OUString& aPropertyName, } uno::Any SAL_CALL OInputCompStream::getPropertyValue( const OUString& aProp ) - throw ( beans::UnknownPropertyException, - lang::WrappedTargetException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -610,9 +552,6 @@ uno::Any SAL_CALL OInputCompStream::getPropertyValue( const OUString& aProp ) void SAL_CALL OInputCompStream::addPropertyChangeListener( const OUString& /*aPropertyName*/, const uno::Reference< beans::XPropertyChangeListener >& /*xListener*/ ) - throw ( beans::UnknownPropertyException, - lang::WrappedTargetException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -628,9 +567,6 @@ void SAL_CALL OInputCompStream::addPropertyChangeListener( void SAL_CALL OInputCompStream::removePropertyChangeListener( const OUString& /*aPropertyName*/, const uno::Reference< beans::XPropertyChangeListener >& /*aListener*/ ) - throw ( beans::UnknownPropertyException, - lang::WrappedTargetException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -646,9 +582,6 @@ void SAL_CALL OInputCompStream::removePropertyChangeListener( void SAL_CALL OInputCompStream::addVetoableChangeListener( const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener >& /*aListener*/ ) - throw ( beans::UnknownPropertyException, - lang::WrappedTargetException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); @@ -664,9 +597,6 @@ void SAL_CALL OInputCompStream::addVetoableChangeListener( void SAL_CALL OInputCompStream::removeVetoableChangeListener( const OUString& /*PropertyName*/, const uno::Reference< beans::XVetoableChangeListener >& /*aListener*/ ) - throw ( beans::UnknownPropertyException, - lang::WrappedTargetException, - uno::RuntimeException, std::exception ) { ::osl::MutexGuard aGuard( m_rMutexRef->GetMutex() ); |