diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-27 10:37:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-27 10:40:41 +0100 |
commit | b61214c91d926ea56f2cae309469da588b3304b1 (patch) | |
tree | 9e2c99e3cfac09d4f6f9cb7f39107c916a301445 /desktop/test/deployment/active | |
parent | d1f31681623696e99b0bd9e98570cb1ebac518cc (diff) |
Remove dynamic exception specifications from !LIBO_INTERNAL_ONLY
...only odk/examples/ remains to be clean up
Change-Id: I875a1e8d6750b6b007bd75126b8010273e1f32d5
Diffstat (limited to 'desktop/test/deployment/active')
-rw-r--r-- | desktop/test/deployment/active/active_native.cxx | 34 |
1 files changed, 11 insertions, 23 deletions
diff --git a/desktop/test/deployment/active/active_native.cxx b/desktop/test/deployment/active/active_native.cxx index 82325ec74d33..0c1154bcc441 100644 --- a/desktop/test/deployment/active/active_native.cxx +++ b/desktop/test/deployment/active/active_native.cxx @@ -81,26 +81,22 @@ private: virtual ~Provider() {} - virtual rtl::OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException) SAL_OVERRIDE + virtual rtl::OUString SAL_CALL getImplementationName() SAL_OVERRIDE { return static_getImplementationName(); } - virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName) - throw (css::uno::RuntimeException) SAL_OVERRIDE + virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName) SAL_OVERRIDE { return cppu::supportsService(this, ServiceName); } virtual css::uno::Sequence< rtl::OUString > SAL_CALL - getSupportedServiceNames() throw (css::uno::RuntimeException) SAL_OVERRIDE + getSupportedServiceNames() SAL_OVERRIDE { return static_getSupportedServiceNames(); } virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch( - css::util::URL const &, rtl::OUString const &, sal_Int32) - throw (css::uno::RuntimeException) SAL_OVERRIDE; + css::util::URL const &, rtl::OUString const &, sal_Int32) SAL_OVERRIDE; virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches( - css::uno::Sequence< css::frame::DispatchDescriptor > const & Requests) - throw (css::uno::RuntimeException) SAL_OVERRIDE; + css::uno::Sequence< css::frame::DispatchDescriptor > const & Requests) SAL_OVERRIDE; css::uno::Reference< css::uno::XComponentContext > context_; }; @@ -117,7 +113,6 @@ css::uno::Sequence< rtl::OUString > Provider::static_getSupportedServiceNames() css::uno::Reference< css::frame::XDispatch > Provider::queryDispatch( css::util::URL const &, rtl::OUString const &, sal_Int32) - throw (css::uno::RuntimeException) { css::uno::Reference< css::frame::XDispatch > dispatch; if (!(context_->getValueByName( @@ -138,7 +133,6 @@ css::uno::Reference< css::frame::XDispatch > Provider::queryDispatch( css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > Provider::queryDispatches( css::uno::Sequence< css::frame::DispatchDescriptor > const & Requests) - throw (css::uno::RuntimeException) { css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > s( Requests.getLength()); @@ -175,33 +169,28 @@ private: virtual ~Dispatch() {} - virtual rtl::OUString SAL_CALL getImplementationName() - throw (css::uno::RuntimeException) SAL_OVERRIDE + virtual rtl::OUString SAL_CALL getImplementationName() SAL_OVERRIDE { return static_getImplementationName(); } - virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName) - throw (css::uno::RuntimeException) SAL_OVERRIDE + virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName) SAL_OVERRIDE { return cppu::supportsService(this, ServiceName); } virtual css::uno::Sequence< rtl::OUString > SAL_CALL - getSupportedServiceNames() throw (css::uno::RuntimeException) SAL_OVERRIDE + getSupportedServiceNames() SAL_OVERRIDE { return static_getSupportedServiceNames(); } virtual void SAL_CALL dispatch( css::util::URL const &, - css::uno::Sequence< css::beans::PropertyValue > const &) - throw (css::uno::RuntimeException) SAL_OVERRIDE; + css::uno::Sequence< css::beans::PropertyValue > const &) SAL_OVERRIDE; virtual void SAL_CALL addStatusListener( css::uno::Reference< css::frame::XStatusListener > const &, - css::util::URL const &) - throw (css::uno::RuntimeException) SAL_OVERRIDE + css::util::URL const &) SAL_OVERRIDE {} virtual void SAL_CALL removeStatusListener( css::uno::Reference< css::frame::XStatusListener > const &, - css::util::URL const &) - throw (css::uno::RuntimeException) SAL_OVERRIDE + css::util::URL const &) SAL_OVERRIDE {} css::uno::Reference< css::uno::XComponentContext > context_; @@ -215,7 +204,6 @@ rtl::OUString Dispatch::static_getImplementationName() { void Dispatch::dispatch( css::util::URL const &, css::uno::Sequence< css::beans::PropertyValue > const &) - throw (css::uno::RuntimeException) { css::uno::Reference< css::frame::XDesktop2 > xDesktop = css::frame::Desktop::create(context_); css::uno::Reference< css::frame::XFrame > xFrame = xDesktop->getCurrentFrame(); |