diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /ucbhelper/source/provider/contenthelper.cxx | |
parent | Fixup whitespace changes, remove commented code. (diff) | |
download | core-5e21a413c788f839a66d9e4c14e745ed18058db8.tar.gz core-5e21a413c788f839a66d9e4c14e745ed18058db8.zip |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'ucbhelper/source/provider/contenthelper.cxx')
-rw-r--r-- | ucbhelper/source/provider/contenthelper.cxx | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/ucbhelper/source/provider/contenthelper.cxx b/ucbhelper/source/provider/contenthelper.cxx index b19a077313f8..f758b934162a 100644 --- a/ucbhelper/source/provider/contenthelper.cxx +++ b/ucbhelper/source/provider/contenthelper.cxx @@ -162,7 +162,7 @@ void SAL_CALL ContentImplHelper::release() } uno::Any SAL_CALL ContentImplHelper::queryInterface( const uno::Type & rType ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { com::sun::star::uno::Any aRet = cppu::queryInterface( rType, static_cast< lang::XTypeProvider * >(this), @@ -193,14 +193,14 @@ XTYPEPROVIDER_IMPL_10( ContentImplHelper, // virtual sal_Bool SAL_CALL ContentImplHelper::supportsService( const OUString& ServiceName ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { return cppu::supportsService(this, ServiceName); } // virtual void SAL_CALL ContentImplHelper::dispose() - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -249,7 +249,7 @@ void SAL_CALL ContentImplHelper::dispose() // virtual void SAL_CALL ContentImplHelper::addEventListener( const uno::Reference< lang::XEventListener >& Listener ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -263,7 +263,7 @@ void SAL_CALL ContentImplHelper::addEventListener( // virtual void SAL_CALL ContentImplHelper::removeEventListener( const uno::Reference< lang::XEventListener >& Listener ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -274,7 +274,7 @@ void SAL_CALL ContentImplHelper::removeEventListener( // virtual uno::Reference< com::sun::star::ucb::XContentIdentifier > SAL_CALL ContentImplHelper::getIdentifier() - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { return m_xIdentifier; } @@ -282,7 +282,7 @@ ContentImplHelper::getIdentifier() // virtual void SAL_CALL ContentImplHelper::addContentEventListener( const uno::Reference< com::sun::star::ucb::XContentEventListener >& Listener ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -296,7 +296,7 @@ void SAL_CALL ContentImplHelper::addContentEventListener( // virtual void SAL_CALL ContentImplHelper::removeContentEventListener( const uno::Reference< com::sun::star::ucb::XContentEventListener >& Listener ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -306,7 +306,7 @@ void SAL_CALL ContentImplHelper::removeContentEventListener( // virtual sal_Int32 SAL_CALL ContentImplHelper::createCommandIdentifier() - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -318,7 +318,7 @@ sal_Int32 SAL_CALL ContentImplHelper::createCommandIdentifier() void SAL_CALL ContentImplHelper::addPropertiesChangeListener( const uno::Sequence< OUString >& PropertyNames, const uno::Reference< beans::XPropertiesChangeListener >& Listener ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -351,7 +351,7 @@ void SAL_CALL ContentImplHelper::addPropertiesChangeListener( void SAL_CALL ContentImplHelper::removePropertiesChangeListener( const uno::Sequence< OUString >& PropertyNames, const uno::Reference< beans::XPropertiesChangeListener >& Listener ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -382,7 +382,7 @@ void SAL_CALL ContentImplHelper::removePropertiesChangeListener( // virtual void SAL_CALL ContentImplHelper::addCommandInfoChangeListener( const uno::Reference< com::sun::star::ucb::XCommandInfoChangeListener >& Listener ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -396,7 +396,7 @@ void SAL_CALL ContentImplHelper::addCommandInfoChangeListener( // virtual void SAL_CALL ContentImplHelper::removeCommandInfoChangeListener( const uno::Reference< com::sun::star::ucb::XCommandInfoChangeListener >& Listener ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -412,7 +412,7 @@ void SAL_CALL ContentImplHelper::addProperty( throw( beans::PropertyExistException, beans::IllegalTypeException, lang::IllegalArgumentException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -499,7 +499,7 @@ void SAL_CALL ContentImplHelper::addProperty( void SAL_CALL ContentImplHelper::removeProperty( const OUString& Name ) throw( beans::UnknownPropertyException, beans::NotRemoveableException, - uno::RuntimeException ) + uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -597,7 +597,7 @@ void SAL_CALL ContentImplHelper::removeProperty( const OUString& Name ) // virtual void SAL_CALL ContentImplHelper::addPropertySetInfoChangeListener( const uno::Reference< beans::XPropertySetInfoChangeListener >& Listener ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -611,7 +611,7 @@ void SAL_CALL ContentImplHelper::addPropertySetInfoChangeListener( // virtual void SAL_CALL ContentImplHelper::removePropertySetInfoChangeListener( const uno::Reference< beans::XPropertySetInfoChangeListener >& Listener ) - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard( m_aMutex ); @@ -621,7 +621,7 @@ void SAL_CALL ContentImplHelper::removePropertySetInfoChangeListener( // virtual uno::Reference< uno::XInterface > SAL_CALL ContentImplHelper::getParent() - throw( uno::RuntimeException ) + throw( uno::RuntimeException, std::exception ) { uno::Reference< uno::XInterface > xParent; OUString aURL = getParentURL(); @@ -645,7 +645,7 @@ uno::Reference< uno::XInterface > SAL_CALL ContentImplHelper::getParent() // virtual void SAL_CALL ContentImplHelper::setParent( const uno::Reference< uno::XInterface >& ) - throw( lang::NoSupportException, uno::RuntimeException ) + throw( lang::NoSupportException, uno::RuntimeException, std::exception ) { throw lang::NoSupportException(); } |