summaryrefslogtreecommitdiff
path: root/cppuhelper/source/component.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/component.cxx')
-rw-r--r--cppuhelper/source/component.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx
index 6d13d89355a6..9ce2cc4150d9 100644
--- a/cppuhelper/source/component.cxx
+++ b/cppuhelper/source/component.cxx
@@ -48,11 +48,11 @@ OComponentHelper::~OComponentHelper() SAL_THROW( (RuntimeException) )
{
}
-Any OComponentHelper::queryInterface( Type const & rType ) throw (RuntimeException)
+Any OComponentHelper::queryInterface( Type const & rType ) throw (RuntimeException, std::exception)
{
return OWeakAggObject::queryInterface( rType );
}
-Any OComponentHelper::queryAggregation( Type const & rType ) throw (RuntimeException)
+Any OComponentHelper::queryAggregation( Type const & rType ) throw (RuntimeException, std::exception)
{
if (rType == ::getCppuType( (Reference< lang::XComponent > const *)0 ))
{
@@ -113,7 +113,7 @@ void OComponentHelper::release() throw()
OWeakAggObject::release();
}
-Sequence< Type > OComponentHelper::getTypes() throw (RuntimeException)
+Sequence< Type > OComponentHelper::getTypes() throw (RuntimeException, std::exception)
{
static OTypeCollection * s_pTypes = 0;
if (! s_pTypes)
@@ -139,7 +139,7 @@ void OComponentHelper::disposing()
// XComponent
void OComponentHelper::dispose()
- throw(::com::sun::star::uno::RuntimeException)
+ throw(::com::sun::star::uno::RuntimeException, std::exception)
{
// An frequently programming error is to release the last
// reference to this object in the disposing message.
@@ -214,7 +214,7 @@ void OComponentHelper::dispose()
// XComponent
void OComponentHelper::addEventListener(
const Reference<XEventListener > & rxListener )
- throw(::com::sun::star::uno::RuntimeException)
+ throw(::com::sun::star::uno::RuntimeException, std::exception)
{
ClearableMutexGuard aGuard( rBHelper.rMutex );
if (rBHelper.bDisposed || rBHelper.bInDispose)
@@ -232,7 +232,7 @@ void OComponentHelper::addEventListener(
// XComponent
void OComponentHelper::removeEventListener(
const Reference<XEventListener > & rxListener )
- throw(::com::sun::star::uno::RuntimeException)
+ throw(::com::sun::star::uno::RuntimeException, std::exception)
{
rBHelper.removeListener( ::getCppuType( &rxListener ) , rxListener );
}