summaryrefslogtreecommitdiff
path: root/remotebridges
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 /remotebridges
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'remotebridges')
-rw-r--r--remotebridges/source/unourl_resolver/unourl_resolver.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/remotebridges/source/unourl_resolver/unourl_resolver.cxx b/remotebridges/source/unourl_resolver/unourl_resolver.cxx
index c926ea16c8d9..e1b414507f07 100644
--- a/remotebridges/source/unourl_resolver/unourl_resolver.cxx
+++ b/remotebridges/source/unourl_resolver/unourl_resolver.cxx
@@ -71,13 +71,13 @@ public:
virtual ~ResolverImpl();
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL supportsService( const OUString & rServiceName ) throw(::com::sun::star::uno::RuntimeException);
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
+ virtual OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL supportsService( const OUString & rServiceName ) throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception);
// XUnoUrlResolver
virtual Reference< XInterface > SAL_CALL resolve( const OUString & rUnoUrl )
- throw (NoConnectException, ConnectionSetupException, RuntimeException);
+ throw (NoConnectException, ConnectionSetupException, RuntimeException, std::exception);
};
ResolverImpl::ResolverImpl( const Reference< XComponentContext > & xCtx )
@@ -89,26 +89,26 @@ ResolverImpl::~ResolverImpl() {}
// XServiceInfo
OUString ResolverImpl::getImplementationName()
- throw(::com::sun::star::uno::RuntimeException)
+ throw(::com::sun::star::uno::RuntimeException, std::exception)
{
return resolver_getImplementationName();
}
sal_Bool ResolverImpl::supportsService( const OUString & rServiceName )
- throw(::com::sun::star::uno::RuntimeException)
+ throw(::com::sun::star::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, rServiceName);
}
Sequence< OUString > ResolverImpl::getSupportedServiceNames()
- throw(::com::sun::star::uno::RuntimeException)
+ throw(::com::sun::star::uno::RuntimeException, std::exception)
{
return resolver_getSupportedServiceNames();
}
// XUnoUrlResolver
Reference< XInterface > ResolverImpl::resolve( const OUString & rUnoUrl )
- throw (NoConnectException, ConnectionSetupException, RuntimeException)
+ throw (NoConnectException, ConnectionSetupException, RuntimeException, std::exception)
{
OUString aProtocolDescr;
OUString aConnectDescr;