diff options
Diffstat (limited to 'io/source/connector/connector.cxx')
-rw-r--r-- | io/source/connector/connector.cxx | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx index d12296295700..c5f9c7935044 100644 --- a/io/source/connector/connector.cxx +++ b/io/source/connector/connector.cxx @@ -56,13 +56,12 @@ namespace stoc_connector // Methods virtual Reference< XConnection > SAL_CALL connect( - const OUString& sConnectionDescription ) - throw( NoConnectException, ConnectionSetupException, RuntimeException, std::exception) override; + const OUString& sConnectionDescription ) override; public: // XServiceInfo - virtual OUString SAL_CALL getImplementationName() throw(std::exception) override; - virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(std::exception) override; - virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(std::exception) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override; + virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override; }; OConnector::OConnector(const Reference< XComponentContext > &xCtx) @@ -71,7 +70,6 @@ namespace stoc_connector {} Reference< XConnection > SAL_CALL OConnector::connect( const OUString& sConnectionDescription ) - throw( NoConnectException, ConnectionSetupException, RuntimeException, std::exception) { // split string into tokens try @@ -174,17 +172,17 @@ namespace stoc_connector return OUString( IMPLEMENTATION_NAME ); } - OUString OConnector::getImplementationName() throw(std::exception) + OUString OConnector::getImplementationName() { return connector_getImplementationName(); } - sal_Bool OConnector::supportsService(const OUString& ServiceName) throw(std::exception) + sal_Bool OConnector::supportsService(const OUString& ServiceName) { return cppu::supportsService(this, ServiceName); } - Sequence< OUString > OConnector::getSupportedServiceNames() throw(std::exception) + Sequence< OUString > OConnector::getSupportedServiceNames() { return connector_getSupportedServiceNames(); } |