diff options
Diffstat (limited to 'stoc/source/proxy_factory/proxyfac.cxx')
-rw-r--r-- | stoc/source/proxy_factory/proxyfac.cxx | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/stoc/source/proxy_factory/proxyfac.cxx b/stoc/source/proxy_factory/proxyfac.cxx index a701e7b02478..ea3c7479c21d 100644 --- a/stoc/source/proxy_factory/proxyfac.cxx +++ b/stoc/source/proxy_factory/proxyfac.cxx @@ -77,17 +77,13 @@ struct FactoryImpl : public ::cppu::WeakImplHelper< lang::XServiceInfo, FactoryImpl(); // XServiceInfo - virtual OUString SAL_CALL getImplementationName() - throw (RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL supportsService( const OUString & rServiceName ) - throw (RuntimeException, std::exception) override; - virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw (RuntimeException, std::exception) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString & rServiceName ) override; + virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override; // XProxyFactory virtual Reference< XAggregation > SAL_CALL createProxy( - Reference< XInterface > const & xTarget ) - throw (RuntimeException, std::exception) override; + Reference< XInterface > const & xTarget ) override; }; @@ -165,8 +161,7 @@ UnoInterfaceReference FactoryImpl::binuno_queryInterface( struct ProxyRoot : public ::cppu::OWeakAggObject { // XAggregation - virtual Any SAL_CALL queryAggregation( Type const & rType ) - throw (RuntimeException, std::exception) override; + virtual Any SAL_CALL queryAggregation( Type const & rType ) override; inline ProxyRoot( ::rtl::Reference< FactoryImpl > const & factory, Reference< XInterface > const & xTarget ); @@ -314,7 +309,6 @@ inline ProxyRoot::ProxyRoot( Any ProxyRoot::queryAggregation( Type const & rType ) - throw (RuntimeException, std::exception) { Any ret( OWeakAggObject::queryAggregation( rType ) ); if (! ret.hasValue()) @@ -413,7 +407,6 @@ FactoryImpl::FactoryImpl() Reference< XAggregation > FactoryImpl::createProxy( Reference< XInterface > const & xTarget ) - throw (RuntimeException, std::exception) { return new ProxyRoot( this, xTarget ); } @@ -421,19 +414,16 @@ Reference< XAggregation > FactoryImpl::createProxy( // XServiceInfo OUString FactoryImpl::getImplementationName() - throw (RuntimeException, std::exception) { return proxyfac_getImplementationName(); } sal_Bool FactoryImpl::supportsService( const OUString & rServiceName ) - throw (RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } Sequence< OUString > FactoryImpl::getSupportedServiceNames() - throw(css::uno::RuntimeException, std::exception) { return proxyfac_getSupportedServiceNames(); } @@ -441,7 +431,6 @@ Sequence< OUString > FactoryImpl::getSupportedServiceNames() /// @throws Exception Reference< XInterface > SAL_CALL proxyfac_create( SAL_UNUSED_PARAMETER Reference< XComponentContext > const & ) - throw (Exception) { Reference< XInterface > xRet; { |