diff options
Diffstat (limited to 'scripting/source/dlgprov/dlgprov.hxx')
-rw-r--r-- | scripting/source/dlgprov/dlgprov.hxx | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/scripting/source/dlgprov/dlgprov.hxx b/scripting/source/dlgprov/dlgprov.hxx index b554e531aa38..6277bba85b3e 100644 --- a/scripting/source/dlgprov/dlgprov.hxx +++ b/scripting/source/dlgprov/dlgprov.hxx @@ -60,7 +60,7 @@ namespace dlgprov const css::uno::Reference< css::io::XInputStream >& xInput, const css::uno::Reference< css::frame::XModel >& xModel, const css::uno::Reference< css::resource::XStringResourceManager >& xStringResourceManager, - const css::uno::Any &aDialogSourceURL) throw ( css::uno::Exception ); + const css::uno::Any &aDialogSourceURL); typedef ::cppu::WeakImplHelper< css::lang::XServiceInfo, @@ -99,9 +99,9 @@ namespace dlgprov css::uno::Reference< css::container::XNameContainer > createDialogModel( const css::uno::Reference< css::io::XInputStream >& xInput, const css::uno::Reference< css::resource::XStringResourceManager >& xStringResourceManager, - const css::uno::Any &aDialogSourceURL) throw ( css::uno::Exception ); + const css::uno::Any &aDialogSourceURL); /// @throws css::uno::Exception - css::uno::Reference< css::awt::XControlModel > createDialogModelForBasic() throw ( css::uno::Exception ); + css::uno::Reference< css::awt::XControlModel > createDialogModelForBasic(); // XDialogProvider / XDialogProvider2 impl method /// @throws css::lang::IllegalArgumentException @@ -110,8 +110,7 @@ namespace dlgprov const OUString& URL, const css::uno::Reference< css::uno::XInterface >& xHandler, const css::uno::Reference< css::awt::XWindowPeer >& xParent, - bool bDialogProviderMode ) - throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception); + bool bDialogProviderMode ); public: explicit DialogProviderImpl( @@ -119,38 +118,30 @@ namespace dlgprov virtual ~DialogProviderImpl() override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName( ) - throw (css::uno::RuntimeException, std::exception) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - 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& ServiceName ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; // 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; // XDialogProvider virtual css::uno::Reference < css::awt::XDialog > SAL_CALL createDialog( - const OUString& URL ) - throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; + const OUString& URL ) override; // XDialogProvider2 virtual css::uno::Reference < css::awt::XDialog > SAL_CALL createDialogWithHandler( const OUString& URL, - const css::uno::Reference< css::uno::XInterface >& xHandler ) - throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::uno::XInterface >& xHandler ) override; virtual css::uno::Reference < css::awt::XDialog > SAL_CALL createDialogWithArguments( const OUString& URL, - const css::uno::Sequence< css::beans::NamedValue >& Arguments ) - throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; + const css::uno::Sequence< css::beans::NamedValue >& Arguments ) override; virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createContainerWindow( const OUString& URL, const OUString& WindowType, const css::uno::Reference< css::awt::XWindowPeer >& xParent, - const css::uno::Reference< css::uno::XInterface >& xHandler ) - throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; + const css::uno::Reference< css::uno::XInterface >& xHandler ) override; }; |