summaryrefslogtreecommitdiff
path: root/stoc/source/invocation_adapterfactory
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /stoc/source/invocation_adapterfactory
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'stoc/source/invocation_adapterfactory')
-rw-r--r--stoc/source/invocation_adapterfactory/iafactory.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx
index 57ebb18105e8..596f9bd32645 100644
--- a/stoc/source/invocation_adapterfactory/iafactory.cxx
+++ b/stoc/source/invocation_adapterfactory/iafactory.cxx
@@ -109,21 +109,21 @@ public:
// XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual sal_Bool SAL_CALL supportsService( const OUString & rServiceName )
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
// XInvocationAdapterFactory
virtual Reference< XInterface > SAL_CALL createAdapter(
const Reference< script::XInvocation > & xReceiver, const Type & rType )
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
// XInvocationAdapterFactory2
virtual Reference< XInterface > SAL_CALL createAdapter(
const Reference< script::XInvocation > & xReceiver,
const Sequence< Type > & rTypes )
- throw (RuntimeException);
+ throw (RuntimeException, std::exception);
};
struct AdapterImpl;
@@ -831,7 +831,7 @@ static inline AdapterImpl * lookup_adapter(
Reference< XInterface > FactoryImpl::createAdapter(
const Reference< script::XInvocation > & xReceiver,
const Sequence< Type > & rTypes )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
Reference< XInterface > xRet;
if (xReceiver.is() && rTypes.getLength())
@@ -892,7 +892,7 @@ Reference< XInterface > FactoryImpl::createAdapter(
Reference< XInterface > FactoryImpl::createAdapter(
const Reference< script::XInvocation > & xReceiver, const Type & rType )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return createAdapter( xReceiver, Sequence< Type >( &rType, 1 ) );
}
@@ -900,19 +900,19 @@ Reference< XInterface > FactoryImpl::createAdapter(
// XServiceInfo
OUString FactoryImpl::getImplementationName()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return invadp_getImplementationName();
}
sal_Bool FactoryImpl::supportsService( const OUString & rServiceName )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return cppu::supportsService(this, rServiceName);
}
Sequence< OUString > FactoryImpl::getSupportedServiceNames()
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return invadp_getSupportedServiceNames();
}