diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /desktop/source/deployment/registry/executable | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'desktop/source/deployment/registry/executable')
-rw-r--r-- | desktop/source/deployment/registry/executable/dp_executable.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/deployment/registry/executable/dp_executable.cxx b/desktop/source/deployment/registry/executable/dp_executable.cxx index ead5dd23c7fd..c5f116ab9540 100644 --- a/desktop/source/deployment/registry/executable/dp_executable.cxx +++ b/desktop/source/deployment/registry/executable/dp_executable.cxx @@ -93,10 +93,10 @@ public: // XPackageRegistry virtual Sequence< Reference<deployment::XPackageTypeInfo> > SAL_CALL - getSupportedPackageTypes() throw (RuntimeException); + getSupportedPackageTypes() throw (RuntimeException, std::exception); virtual void SAL_CALL packageRemoved(OUString const & url, OUString const & mediaType) throw (deployment::DeploymentException, - uno::RuntimeException); + uno::RuntimeException, std::exception); using PackageRegistryBackend::disposing; }; @@ -140,7 +140,7 @@ bool BackendImpl::hasActiveEntry(OUString const & url) // XPackageRegistry Sequence< Reference<deployment::XPackageTypeInfo> > -BackendImpl::getSupportedPackageTypes() throw (RuntimeException) +BackendImpl::getSupportedPackageTypes() throw (RuntimeException, std::exception) { return Sequence<Reference<deployment::XPackageTypeInfo> >( & m_xExecutableTypeInfo, 1); @@ -148,7 +148,7 @@ BackendImpl::getSupportedPackageTypes() throw (RuntimeException) void BackendImpl::packageRemoved(OUString const & url, OUString const & /*mediaType*/) throw (deployment::DeploymentException, - uno::RuntimeException) + uno::RuntimeException, std::exception) { if (m_backendDb.get()) m_backendDb->removeEntry(url); |