diff options
Diffstat (limited to 'framework/source/inc/dispatch/dispatchdisabler.hxx')
-rw-r--r-- | framework/source/inc/dispatch/dispatchdisabler.hxx | 51 |
1 files changed, 17 insertions, 34 deletions
diff --git a/framework/source/inc/dispatch/dispatchdisabler.hxx b/framework/source/inc/dispatch/dispatchdisabler.hxx index b41d7af00221..cbc7dffaf13c 100644 --- a/framework/source/inc/dispatch/dispatchdisabler.hxx +++ b/framework/source/inc/dispatch/dispatchdisabler.hxx @@ -48,67 +48,50 @@ public: DispatchDisabler(const css::uno::Reference< css::uno::XComponentContext >& rxContext); // XInitialization - virtual void SAL_CALL initialize( const ::css::uno::Sequence< ::css::uno::Any >& aArguments ) - throw (::css::uno::Exception, ::css::uno::RuntimeException, ::std::exception) override; + virtual void SAL_CALL initialize( const ::css::uno::Sequence< ::css::uno::Any >& aArguments ) override; // XDispatchProvider virtual ::css::uno::Reference< ::css::frame::XDispatch > SAL_CALL queryDispatch( const ::css::util::URL& URL, const OUString& TargetFrameName, - ::sal_Int32 SearchFlags ) - throw (::css::uno::RuntimeException, ::std::exception) override; + ::sal_Int32 SearchFlags ) override; virtual ::css::uno::Sequence< ::css::uno::Reference< ::css::frame::XDispatch > > SAL_CALL - queryDispatches( const ::css::uno::Sequence< ::css::frame::DispatchDescriptor >& Requests ) - throw (::css::uno::RuntimeException, ::std::exception) override; + queryDispatches( const ::css::uno::Sequence< ::css::frame::DispatchDescriptor >& Requests ) override; // XDispatchProviderInterceptor virtual ::css::uno::Reference< ::css::frame::XDispatchProvider > SAL_CALL - getSlaveDispatchProvider() throw (::css::uno::RuntimeException, ::std::exception) override; + getSlaveDispatchProvider() override; virtual void SAL_CALL - setSlaveDispatchProvider( const ::css::uno::Reference< ::css::frame::XDispatchProvider >& NewDispatchProvider ) - throw (::css::uno::RuntimeException, ::std::exception) override; + setSlaveDispatchProvider( const ::css::uno::Reference< ::css::frame::XDispatchProvider >& NewDispatchProvider ) override; virtual ::css::uno::Reference< ::css::frame::XDispatchProvider > SAL_CALL - getMasterDispatchProvider() throw (::css::uno::RuntimeException, ::std::exception) override; + getMasterDispatchProvider() override; virtual void SAL_CALL - setMasterDispatchProvider( const ::css::uno::Reference< ::css::frame::XDispatchProvider >& NewSupplier ) - throw (::css::uno::RuntimeException, ::std::exception) override; + setMasterDispatchProvider( const ::css::uno::Reference< ::css::frame::XDispatchProvider >& NewSupplier ) override; // XInterceptorInfo virtual ::css::uno::Sequence< OUString > SAL_CALL - getInterceptedURLs() throw (::css::uno::RuntimeException, ::std::exception) override; + getInterceptedURLs() override; // XElementAccess - virtual ::css::uno::Type SAL_CALL getElementType() - throw (::css::uno::RuntimeException, ::std::exception) override; - virtual ::sal_Bool SAL_CALL hasElements() - throw (::css::uno::RuntimeException, ::std::exception) override; + virtual ::css::uno::Type SAL_CALL getElementType() override; + virtual ::sal_Bool SAL_CALL hasElements() override; // XNameAccess - virtual ::css::uno::Any SAL_CALL getByName( const OUString& aName ) - throw (::css::container::NoSuchElementException, ::css::lang::WrappedTargetException, - ::css::uno::RuntimeException, ::std::exception) override; - virtual ::css::uno::Sequence< OUString > SAL_CALL getElementNames() - throw (::css::uno::RuntimeException, ::std::exception) override; - virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) - throw (::css::uno::RuntimeException, ::std::exception) override; + virtual ::css::uno::Any SAL_CALL getByName( const OUString& aName ) override; + virtual ::css::uno::Sequence< OUString > SAL_CALL getElementNames() override; + virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) override; // XNameReplace - virtual void SAL_CALL replaceByName( const OUString& aName, const ::css::uno::Any& aElement ) - throw (::css::lang::IllegalArgumentException, ::css::container::NoSuchElementException, - ::css::lang::WrappedTargetException, ::css::uno::RuntimeException, ::std::exception) override; + virtual void SAL_CALL replaceByName( const OUString& aName, const ::css::uno::Any& aElement ) override; // XNameContainer - virtual void SAL_CALL insertByName( const OUString& aName, const ::css::uno::Any& aElement ) - throw (::css::lang::IllegalArgumentException, ::css::container::ElementExistException, - ::css::lang::WrappedTargetException, ::css::uno::RuntimeException, ::std::exception) override; - virtual void SAL_CALL removeByName( const OUString& Name ) - throw (::css::container::NoSuchElementException, ::css::lang::WrappedTargetException, - ::css::uno::RuntimeException, ::std::exception) override; + virtual void SAL_CALL insertByName( const OUString& aName, const ::css::uno::Any& aElement ) override; + virtual void SAL_CALL removeByName( const OUString& Name ) override; DECLARE_XSERVICEINFO_NOFACTORY /* Helper for registry */ /// @throws css::uno::Exception - static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance ( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ) throw( css::uno::Exception ); + static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance ( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ); static css::uno::Reference< css::lang::XSingleServiceFactory > SAL_CALL impl_createFactory ( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ); }; |