diff options
Diffstat (limited to 'scripting/source/protocolhandler/scripthandler.hxx')
-rw-r--r-- | scripting/source/protocolhandler/scripthandler.hxx | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/scripting/source/protocolhandler/scripthandler.hxx b/scripting/source/protocolhandler/scripthandler.hxx index 70fe12843040..825f5ab75379 100644 --- a/scripting/source/protocolhandler/scripthandler.hxx +++ b/scripting/source/protocolhandler/scripthandler.hxx @@ -79,12 +79,9 @@ public: virtual ~ScriptProtocolHandler() override; /* XServiceInfo */ - virtual OUString SAL_CALL getImplementationName() - throw( css::uno::RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& sServiceName ) - throw( css::uno::RuntimeException, std::exception ) override; - virtual css::uno::Sequence < OUString > SAL_CALL getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& sServiceName ) override; + virtual css::uno::Sequence < OUString > SAL_CALL getSupportedServiceNames() override; /* Helper for XServiceInfo */ static css::uno::Sequence < OUString > impl_getStaticSupportedServiceNames(); @@ -94,43 +91,36 @@ public: /// @throws css::uno::RuntimeException static css::uno::Reference < css::uno::XInterface > SAL_CALL impl_createInstance( - const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ) - throw( css::uno::RuntimeException ); + const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ); static css::uno::Reference < css::lang::XSingleServiceFactory > impl_createFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ); /* Implementation for XDispatchProvider */ virtual css::uno::Reference < css::frame::XDispatch > SAL_CALL queryDispatch( const css::util::URL& aURL, const OUString& sTargetFrameName, - sal_Int32 eSearchFlags ) throw( css::uno::RuntimeException, std::exception ) override ; + sal_Int32 eSearchFlags ) override ; virtual css::uno::Sequence< css::uno::Reference < css::frame::XDispatch > > SAL_CALL queryDispatches( - const css::uno::Sequence < css::frame::DispatchDescriptor >& seqDescriptor ) - throw( css::uno::RuntimeException, std::exception ) override; + const css::uno::Sequence < css::frame::DispatchDescriptor >& seqDescriptor ) override; /* Implementation for X(Notifying)Dispatch */ virtual void SAL_CALL dispatchWithNotification( const css::util::URL& aURL, const css::uno::Sequence< css::beans::PropertyValue >& lArgs, - const css::uno::Reference< css::frame::XDispatchResultListener >& Listener ) - throw ( css::uno::RuntimeException, std::exception ) override; + const css::uno::Reference< css::frame::XDispatchResultListener >& Listener ) override; virtual void SAL_CALL dispatch( const css::util::URL& aURL, - const css::uno::Sequence< css::beans::PropertyValue >& lArgs ) - throw ( css::uno::RuntimeException, std::exception ) override; + const css::uno::Sequence< css::beans::PropertyValue >& lArgs ) override; virtual void SAL_CALL addStatusListener( const css::uno::Reference< css::frame::XStatusListener >& xControl, - const css::util::URL& aURL ) - throw ( css::uno::RuntimeException, std::exception ) override; + const css::util::URL& aURL ) override; virtual void SAL_CALL removeStatusListener( const css::uno::Reference< css::frame::XStatusListener >& xControl, - const css::util::URL& aURL ) - throw ( css::uno::RuntimeException, std::exception ) override; + const css::util::URL& aURL ) override; /* Implementation for XInitialization */ virtual void SAL_CALL initialize( - const css::uno::Sequence < css::uno::Any >& aArguments ) - throw ( css::uno::Exception, std::exception ) override; + const css::uno::Sequence < css::uno::Any >& aArguments ) override; }; } |