summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /shell
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'shell')
-rw-r--r--shell/source/backends/desktopbe/desktopbackend.cxx24
-rw-r--r--shell/source/backends/gconfbe/gconfbackend.cxx24
-rw-r--r--shell/source/backends/kde4be/kde4backend.cxx24
-rw-r--r--shell/source/backends/kdebe/kdebackend.cxx24
-rw-r--r--shell/source/backends/localebe/localebackend.cxx10
-rw-r--r--shell/source/backends/localebe/localebackend.hxx20
-rw-r--r--shell/source/cmdmail/cmdmailmsg.cxx38
-rw-r--r--shell/source/cmdmail/cmdmailmsg.hxx38
-rw-r--r--shell/source/cmdmail/cmdmailsuppl.cxx12
-rw-r--r--shell/source/cmdmail/cmdmailsuppl.hxx12
-rw-r--r--shell/source/sessioninstall/SyncDbusSessionHelper.cxx4
-rw-r--r--shell/source/sessioninstall/SyncDbusSessionHelper.hxx24
-rw-r--r--shell/source/unix/exec/shellexec.cxx8
-rw-r--r--shell/source/unix/exec/shellexec.hxx8
14 files changed, 135 insertions, 135 deletions
diff --git a/shell/source/backends/desktopbe/desktopbackend.cxx b/shell/source/backends/desktopbe/desktopbackend.cxx
index 0acf3375e501..3b494ec39294 100644
--- a/shell/source/backends/desktopbe/desktopbackend.cxx
+++ b/shell/source/backends/desktopbe/desktopbackend.cxx
@@ -75,19 +75,19 @@ private:
virtual ~Default() {}
virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{ return getDefaultImplementationName(); }
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{ return ServiceName == getSupportedServiceNames()[0]; }
virtual css::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
+ getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
{ return getDefaultSupportedServiceNames(); }
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
- getPropertySetInfo() throw (css::uno::RuntimeException)
+ getPropertySetInfo() throw (css::uno::RuntimeException, std::exception)
{ return css::uno::Reference< css::beans::XPropertySetInfo >(); }
virtual void SAL_CALL setPropertyValue(
@@ -96,20 +96,20 @@ private:
css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, css::uno::RuntimeException);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
virtual css::uno::Any SAL_CALL getPropertyValue(
OUString const & PropertyName)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
virtual void SAL_CALL addPropertyChangeListener(
OUString const &,
css::uno::Reference< css::beans::XPropertyChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL removePropertyChangeListener(
@@ -117,7 +117,7 @@ private:
css::uno::Reference< css::beans::XPropertyChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL addVetoableChangeListener(
@@ -125,7 +125,7 @@ private:
css::uno::Reference< css::beans::XVetoableChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL removeVetoableChangeListener(
@@ -133,7 +133,7 @@ private:
css::uno::Reference< css::beans::XVetoableChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
};
@@ -141,7 +141,7 @@ void Default::setPropertyValue(OUString const &, css::uno::Any const &)
throw (
css::beans::UnknownPropertyException, css::beans::PropertyVetoException,
css::lang::IllegalArgumentException, css::lang::WrappedTargetException,
- css::uno::RuntimeException)
+ css::uno::RuntimeException, std::exception)
{
throw css::lang::IllegalArgumentException(
OUString("setPropertyValue not supported"),
@@ -151,7 +151,7 @@ void Default::setPropertyValue(OUString const &, css::uno::Any const &)
css::uno::Any Default::getPropertyValue(OUString const & PropertyName)
throw (
css::beans::UnknownPropertyException, css::lang::WrappedTargetException,
- css::uno::RuntimeException)
+ css::uno::RuntimeException, std::exception)
{
if ( PropertyName == "EnableATToolSupport" ||
PropertyName == "ExternalMailer" ||
diff --git a/shell/source/backends/gconfbe/gconfbackend.cxx b/shell/source/backends/gconfbe/gconfbackend.cxx
index 47d6cdbe2e11..2d908493f06d 100644
--- a/shell/source/backends/gconfbe/gconfbackend.cxx
+++ b/shell/source/backends/gconfbe/gconfbackend.cxx
@@ -76,19 +76,19 @@ private:
virtual ~Service() {}
virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{ return getServiceImplementationName(); }
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{ return ServiceName == getSupportedServiceNames()[0]; }
virtual css::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
+ getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
{ return getServiceSupportedServiceNames(); }
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
- getPropertySetInfo() throw (css::uno::RuntimeException)
+ getPropertySetInfo() throw (css::uno::RuntimeException, std::exception)
{ return css::uno::Reference< css::beans::XPropertySetInfo >(); }
virtual void SAL_CALL setPropertyValue(
@@ -97,20 +97,20 @@ private:
css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, css::uno::RuntimeException);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
virtual css::uno::Any SAL_CALL getPropertyValue(
OUString const & PropertyName)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
virtual void SAL_CALL addPropertyChangeListener(
OUString const &,
css::uno::Reference< css::beans::XPropertyChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL removePropertyChangeListener(
@@ -118,7 +118,7 @@ private:
css::uno::Reference< css::beans::XPropertyChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL addVetoableChangeListener(
@@ -126,7 +126,7 @@ private:
css::uno::Reference< css::beans::XVetoableChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL removeVetoableChangeListener(
@@ -134,7 +134,7 @@ private:
css::uno::Reference< css::beans::XVetoableChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
bool enabled_;
@@ -156,7 +156,7 @@ void Service::setPropertyValue(OUString const &, css::uno::Any const &)
throw (
css::beans::UnknownPropertyException, css::beans::PropertyVetoException,
css::lang::IllegalArgumentException, css::lang::WrappedTargetException,
- css::uno::RuntimeException)
+ css::uno::RuntimeException, std::exception)
{
throw css::lang::IllegalArgumentException(
OUString("setPropertyValue not supported"),
@@ -166,7 +166,7 @@ void Service::setPropertyValue(OUString const &, css::uno::Any const &)
css::uno::Any Service::getPropertyValue(OUString const & PropertyName)
throw (
css::beans::UnknownPropertyException, css::lang::WrappedTargetException,
- css::uno::RuntimeException)
+ css::uno::RuntimeException, std::exception)
{
for (std::size_t i = 0; i < gconfaccess::nConfigurationValues; ++i)
{
diff --git a/shell/source/backends/kde4be/kde4backend.cxx b/shell/source/backends/kde4be/kde4backend.cxx
index 1d486e41ead5..8d6cfb1e429f 100644
--- a/shell/source/backends/kde4be/kde4backend.cxx
+++ b/shell/source/backends/kde4be/kde4backend.cxx
@@ -76,19 +76,19 @@ private:
virtual ~Service() {}
virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{ return getServiceImplementationName(); }
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{ return ServiceName == getSupportedServiceNames()[0]; }
virtual css::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
+ getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
{ return getServiceSupportedServiceNames(); }
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
- getPropertySetInfo() throw (css::uno::RuntimeException)
+ getPropertySetInfo() throw (css::uno::RuntimeException, std::exception)
{ return css::uno::Reference< css::beans::XPropertySetInfo >(); }
virtual void SAL_CALL setPropertyValue(
@@ -97,20 +97,20 @@ private:
css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, css::uno::RuntimeException);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
virtual css::uno::Any SAL_CALL getPropertyValue(
OUString const & PropertyName)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
virtual void SAL_CALL addPropertyChangeListener(
OUString const &,
css::uno::Reference< css::beans::XPropertyChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL removePropertyChangeListener(
@@ -118,7 +118,7 @@ private:
css::uno::Reference< css::beans::XPropertyChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL addVetoableChangeListener(
@@ -126,7 +126,7 @@ private:
css::uno::Reference< css::beans::XVetoableChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL removeVetoableChangeListener(
@@ -134,7 +134,7 @@ private:
css::uno::Reference< css::beans::XVetoableChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
bool enabled_;
@@ -156,7 +156,7 @@ void Service::setPropertyValue(OUString const &, css::uno::Any const &)
throw (
css::beans::UnknownPropertyException, css::beans::PropertyVetoException,
css::lang::IllegalArgumentException, css::lang::WrappedTargetException,
- css::uno::RuntimeException)
+ css::uno::RuntimeException, std::exception)
{
throw css::lang::IllegalArgumentException(
OUString("setPropertyValue not supported"),
@@ -166,7 +166,7 @@ void Service::setPropertyValue(OUString const &, css::uno::Any const &)
css::uno::Any Service::getPropertyValue(OUString const & PropertyName)
throw (
css::beans::UnknownPropertyException, css::lang::WrappedTargetException,
- css::uno::RuntimeException)
+ css::uno::RuntimeException, std::exception)
{
if (PropertyName == "EnableATToolSupport" || PropertyName == "ExternalMailer" || PropertyName == "SourceViewFontHeight"
|| PropertyName == "SourceViewFontName" || PropertyName == "WorkPathVariable" || PropertyName == "ooInetFTPProxyName"
diff --git a/shell/source/backends/kdebe/kdebackend.cxx b/shell/source/backends/kdebe/kdebackend.cxx
index 08915e82d033..50187a65d86a 100644
--- a/shell/source/backends/kdebe/kdebackend.cxx
+++ b/shell/source/backends/kdebe/kdebackend.cxx
@@ -76,19 +76,19 @@ private:
virtual ~Service() {}
virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{ return getServiceImplementationName(); }
virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException, std::exception)
{ return ServiceName == getSupportedServiceNames()[0]; }
virtual css::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
+ getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
{ return getServiceSupportedServiceNames(); }
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
- getPropertySetInfo() throw (css::uno::RuntimeException)
+ getPropertySetInfo() throw (css::uno::RuntimeException, std::exception)
{ return css::uno::Reference< css::beans::XPropertySetInfo >(); }
virtual void SAL_CALL setPropertyValue(
@@ -97,20 +97,20 @@ private:
css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, css::uno::RuntimeException);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
virtual css::uno::Any SAL_CALL getPropertyValue(
OUString const & PropertyName)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
virtual void SAL_CALL addPropertyChangeListener(
OUString const &,
css::uno::Reference< css::beans::XPropertyChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL removePropertyChangeListener(
@@ -118,7 +118,7 @@ private:
css::uno::Reference< css::beans::XPropertyChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL addVetoableChangeListener(
@@ -126,7 +126,7 @@ private:
css::uno::Reference< css::beans::XVetoableChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL removeVetoableChangeListener(
@@ -134,7 +134,7 @@ private:
css::uno::Reference< css::beans::XVetoableChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
bool enabled_;
@@ -156,7 +156,7 @@ void Service::setPropertyValue(OUString const &, css::uno::Any const &)
throw (
css::beans::UnknownPropertyException, css::beans::PropertyVetoException,
css::lang::IllegalArgumentException, css::lang::WrappedTargetException,
- css::uno::RuntimeException)
+ css::uno::RuntimeException, std::exception)
{
throw css::lang::IllegalArgumentException(
OUString("setPropertyValue not supported"),
@@ -166,7 +166,7 @@ void Service::setPropertyValue(OUString const &, css::uno::Any const &)
css::uno::Any Service::getPropertyValue(OUString const & PropertyName)
throw (
css::beans::UnknownPropertyException, css::lang::WrappedTargetException,
- css::uno::RuntimeException)
+ css::uno::RuntimeException, std::exception)
{
if ( PropertyName == "EnableATToolSupport" || PropertyName == "ExternalMailer" || PropertyName == "SourceViewFontHeight"
|| PropertyName == "SourceViewFontName" || PropertyName == "WorkPathVariable" || PropertyName == "ooInetFTPProxyName"
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx
index c008fc582975..99b9e99aa9b9 100644
--- a/shell/source/backends/localebe/localebackend.cxx
+++ b/shell/source/backends/localebe/localebackend.cxx
@@ -266,7 +266,7 @@ void LocaleBackend::setPropertyValue(
throw (
css::beans::UnknownPropertyException, css::beans::PropertyVetoException,
css::lang::IllegalArgumentException, css::lang::WrappedTargetException,
- css::uno::RuntimeException)
+ css::uno::RuntimeException, std::exception)
{
throw css::lang::IllegalArgumentException(
OUString(
@@ -278,7 +278,7 @@ css::uno::Any LocaleBackend::getPropertyValue(
OUString const & PropertyName)
throw (
css::beans::UnknownPropertyException, css::lang::WrappedTargetException,
- css::uno::RuntimeException)
+ css::uno::RuntimeException, std::exception)
{
if ( PropertyName == "Locale" ) {
return css::uno::makeAny(
@@ -307,7 +307,7 @@ OUString SAL_CALL LocaleBackend::getBackendName(void) {
}
OUString SAL_CALL LocaleBackend::getImplementationName(void)
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
return getBackendName() ;
}
@@ -320,13 +320,13 @@ uno::Sequence<OUString> SAL_CALL LocaleBackend::getBackendServiceNames(void)
}
sal_Bool SAL_CALL LocaleBackend::supportsService(const OUString& aServiceName)
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, aServiceName);
}
uno::Sequence<OUString> SAL_CALL LocaleBackend::getSupportedServiceNames(void)
- throw (uno::RuntimeException)
+ throw (uno::RuntimeException, std::exception)
{
return getBackendServiceNames() ;
}
diff --git a/shell/source/backends/localebe/localebackend.hxx b/shell/source/backends/localebe/localebackend.hxx
index 3eea01286f68..9288df3108ac 100644
--- a/shell/source/backends/localebe/localebackend.hxx
+++ b/shell/source/backends/localebe/localebackend.hxx
@@ -40,15 +40,15 @@ class LocaleBackend : public ::cppu::WeakImplHelper2 <
// XServiceInfo
virtual OUString SAL_CALL
getImplementationName( )
- throw (uno::RuntimeException) ;
+ throw (uno::RuntimeException, std::exception) ;
virtual sal_Bool SAL_CALL
supportsService( const OUString& aServiceName )
- throw (uno::RuntimeException) ;
+ throw (uno::RuntimeException, std::exception) ;
virtual uno::Sequence<OUString> SAL_CALL
getSupportedServiceNames( )
- throw (uno::RuntimeException) ;
+ throw (uno::RuntimeException, std::exception) ;
/**
Provides the implementation name.
@@ -65,7 +65,7 @@ class LocaleBackend : public ::cppu::WeakImplHelper2 <
// XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
- getPropertySetInfo() throw (css::uno::RuntimeException)
+ getPropertySetInfo() throw (css::uno::RuntimeException, std::exception)
{ return css::uno::Reference< css::beans::XPropertySetInfo >(); }
virtual void SAL_CALL setPropertyValue(
@@ -74,20 +74,20 @@ class LocaleBackend : public ::cppu::WeakImplHelper2 <
css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException, css::uno::RuntimeException);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
virtual css::uno::Any SAL_CALL getPropertyValue(
OUString const & PropertyName)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException);
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception);
virtual void SAL_CALL addPropertyChangeListener(
OUString const &,
css::uno::Reference< css::beans::XPropertyChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL removePropertyChangeListener(
@@ -95,7 +95,7 @@ class LocaleBackend : public ::cppu::WeakImplHelper2 <
css::uno::Reference< css::beans::XPropertyChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL addVetoableChangeListener(
@@ -103,7 +103,7 @@ class LocaleBackend : public ::cppu::WeakImplHelper2 <
css::uno::Reference< css::beans::XVetoableChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
virtual void SAL_CALL removeVetoableChangeListener(
@@ -111,7 +111,7 @@ class LocaleBackend : public ::cppu::WeakImplHelper2 <
css::uno::Reference< css::beans::XVetoableChangeListener > const &)
throw (
css::beans::UnknownPropertyException,
- css::lang::WrappedTargetException, css::uno::RuntimeException)
+ css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{}
protected:
diff --git a/shell/source/cmdmail/cmdmailmsg.cxx b/shell/source/cmdmail/cmdmailmsg.cxx
index b5cfbf0d75d9..34adde9a5e1d 100644
--- a/shell/source/cmdmail/cmdmailmsg.cxx
+++ b/shell/source/cmdmail/cmdmailmsg.cxx
@@ -30,105 +30,105 @@ using namespace com::sun::star::uno;
void SAL_CALL CmdMailMsg::setBody( const OUString& aBody )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
m_aBody = aBody;
}
OUString SAL_CALL CmdMailMsg::getBody( )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
return m_aBody;
}
void SAL_CALL CmdMailMsg::setRecipient( const OUString& aRecipient )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
m_aRecipient = aRecipient;
}
OUString SAL_CALL CmdMailMsg::getRecipient( )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
return m_aRecipient;
}
void SAL_CALL CmdMailMsg::setCcRecipient( const Sequence< OUString >& aCcRecipient )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
m_CcRecipients = aCcRecipient;
}
Sequence< OUString > SAL_CALL CmdMailMsg::getCcRecipient( )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
return m_CcRecipients;
}
void SAL_CALL CmdMailMsg::setBccRecipient( const Sequence< OUString >& aBccRecipient )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
m_BccRecipients = aBccRecipient;
}
Sequence< OUString > SAL_CALL CmdMailMsg::getBccRecipient( )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
return m_BccRecipients;
}
void SAL_CALL CmdMailMsg::setOriginator( const OUString& aOriginator )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
m_aOriginator = aOriginator;
}
OUString SAL_CALL CmdMailMsg::getOriginator( )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
return m_aOriginator;
}
void SAL_CALL CmdMailMsg::setSubject( const OUString& aSubject )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
m_aSubject = aSubject;
}
OUString SAL_CALL CmdMailMsg::getSubject( )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
return m_aSubject;
}
void SAL_CALL CmdMailMsg::setAttachement( const Sequence< OUString >& aAttachment )
- throw (IllegalArgumentException, RuntimeException)
+ throw (IllegalArgumentException, RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
m_Attachments = aAttachment;
}
Sequence< OUString > SAL_CALL CmdMailMsg::getAttachement( )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
return m_Attachments;
}
Any SAL_CALL CmdMailMsg::getByName( const OUString& aName )
- throw (NoSuchElementException, WrappedTargetException, RuntimeException)
+ throw (NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
@@ -158,7 +158,7 @@ Any SAL_CALL CmdMailMsg::getByName( const OUString& aName )
}
Sequence< OUString > SAL_CALL CmdMailMsg::getElementNames( )
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
@@ -191,7 +191,7 @@ Sequence< OUString > SAL_CALL CmdMailMsg::getElementNames( )
}
sal_Bool SAL_CALL CmdMailMsg::hasByName( const OUString& aName )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
MutexGuard aGuard( m_aMutex );
@@ -220,14 +220,14 @@ Sequence< OUString > SAL_CALL CmdMailMsg::getElementNames( )
}
Type SAL_CALL CmdMailMsg::getElementType( )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
// returning void for multi type container
return Type();
}
sal_Bool SAL_CALL CmdMailMsg::hasElements( )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return 0 != getElementNames().getLength();
}
diff --git a/shell/source/cmdmail/cmdmailmsg.hxx b/shell/source/cmdmail/cmdmailmsg.hxx
index bc8af9b69f3e..5e5e3c04da08 100644
--- a/shell/source/cmdmail/cmdmailmsg.hxx
+++ b/shell/source/cmdmail/cmdmailmsg.hxx
@@ -56,69 +56,69 @@ public:
virtual void SAL_CALL setBody( const OUString& aBody )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual OUString SAL_CALL getBody( )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL setRecipient( const OUString& aRecipient )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual OUString SAL_CALL getRecipient( )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL setCcRecipient( const ::com::sun::star::uno::Sequence< OUString >& aCcRecipient )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getCcRecipient( )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL setBccRecipient( const ::com::sun::star::uno::Sequence< OUString >& aBccRecipient )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getBccRecipient( )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL setOriginator( const OUString& aOriginator )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual OUString SAL_CALL getOriginator( )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL setSubject( const OUString& aSubject )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual OUString SAL_CALL getSubject( )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL setAttachement( const ::com::sun::star::uno::Sequence< OUString >& aAttachement )
- throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAttachement( )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
// XNameAccess
virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName )
- throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames( )
- throw (::com::sun::star::uno::RuntimeException) ;
+ throw (::com::sun::star::uno::RuntimeException, std::exception) ;
virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
// XElementAccess
virtual ::com::sun::star::uno::Type SAL_CALL getElementType( )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual sal_Bool SAL_CALL hasElements( )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
};
diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx
index e0a6eaeb8d20..a5e05d2bf4f1 100644
--- a/shell/source/cmdmail/cmdmailsuppl.cxx
+++ b/shell/source/cmdmail/cmdmailsuppl.cxx
@@ -90,7 +90,7 @@ CmdMailSuppl::CmdMailSuppl( const Reference< XComponentContext >& xContext ) :
Reference< XSimpleMailClient > SAL_CALL CmdMailSuppl::querySimpleMailClient( )
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
return static_cast < XSimpleMailClient * > (this);
}
@@ -100,7 +100,7 @@ Reference< XSimpleMailClient > SAL_CALL CmdMailSuppl::querySimpleMailClient( )
Reference< XSimpleMailMessage > SAL_CALL CmdMailSuppl::createSimpleMailMessage( )
- throw (::com::sun::star::uno::RuntimeException)
+ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return Reference< XSimpleMailMessage >( new CmdMailMsg( ) );
}
@@ -151,7 +151,7 @@ void appendShellWord(OStringBuffer & buffer, OUString const & word, bool strict)
}
void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailMessage >& xSimpleMailMessage, sal_Int32 /*aFlag*/ )
- throw (IllegalArgumentException, Exception, RuntimeException)
+ throw (IllegalArgumentException, Exception, RuntimeException, std::exception)
{
if ( ! xSimpleMailMessage.is() )
{
@@ -311,21 +311,21 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM
// XServiceInfo
OUString SAL_CALL CmdMailSuppl::getImplementationName( )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return OUString(COMP_IMPL_NAME);
}
// XServiceInfo
sal_Bool SAL_CALL CmdMailSuppl::supportsService( const OUString& ServiceName )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return cppu::supportsService(this, ServiceName);
}
// XServiceInfo
Sequence< OUString > SAL_CALL CmdMailSuppl::getSupportedServiceNames( )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return Component_getSupportedServiceNames();
}
diff --git a/shell/source/cmdmail/cmdmailsuppl.hxx b/shell/source/cmdmail/cmdmailsuppl.hxx
index 593772806161..0986932986ca 100644
--- a/shell/source/cmdmail/cmdmailsuppl.hxx
+++ b/shell/source/cmdmail/cmdmailsuppl.hxx
@@ -50,30 +50,30 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::system::XSimpleMailClient > SAL_CALL querySimpleMailClient( )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
// XSimpleMailClient
virtual ::com::sun::star::uno::Reference< ::com::sun::star::system::XSimpleMailMessage > SAL_CALL createSimpleMailMessage( )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL sendSimpleMailMessage( const ::com::sun::star::uno::Reference< ::com::sun::star::system::XSimpleMailMessage >& xSimpleMailMessage, sal_Int32 aFlag )
- throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception);
// XServiceInfo
virtual OUString SAL_CALL getImplementationName( )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException, std::exception);
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException, std::exception);
};
#endif
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
index b48b0d8fe47d..3d4e3fa2c7d3 100644
--- a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
+++ b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
@@ -64,7 +64,7 @@ namespace shell { namespace sessioninstall
g_type_init ();
#endif
}
- void SAL_CALL SyncDbusSessionHelper::InstallPackageNames( const ::sal_uInt32 nXid, const Sequence< OUString >& vPackages, const OUString& sInteraction ) throw (RuntimeException)
+ void SAL_CALL SyncDbusSessionHelper::InstallPackageNames( const ::sal_uInt32 nXid, const Sequence< OUString >& vPackages, const OUString& sInteraction ) throw (RuntimeException, std::exception)
{
vector< OString > vPackagesOString;
vPackagesOString.reserve(vPackages.getLength());
@@ -90,7 +90,7 @@ namespace shell { namespace sessioninstall
error.getRef());
}
- void SAL_CALL SyncDbusSessionHelper::IsInstalled( const OUString& sPackagename, const OUString& sInteraction, ::sal_Bool& o_isInstalled ) throw (RuntimeException)
+ void SAL_CALL SyncDbusSessionHelper::IsInstalled( const OUString& sPackagename, const OUString& sInteraction, ::sal_Bool& o_isInstalled ) throw (RuntimeException, std::exception)
{
const OString sPackagenameAscii = OUStringToOString(sPackagename, RTL_TEXTENCODING_ASCII_US);
const OString sInteractionAscii = OUStringToOString(sInteraction, RTL_TEXTENCODING_ASCII_US);
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.hxx b/shell/source/sessioninstall/SyncDbusSessionHelper.hxx
index 34570a1f56ad..2cf5be1068c1 100644
--- a/shell/source/sessioninstall/SyncDbusSessionHelper.hxx
+++ b/shell/source/sessioninstall/SyncDbusSessionHelper.hxx
@@ -23,30 +23,30 @@ namespace shell { namespace sessioninstall
SyncDbusSessionHelper(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext> const&);
virtual ~SyncDbusSessionHelper() {}
// XModify Methods
- virtual void SAL_CALL InstallPackageNames( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* packages */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL InstallPackageNames( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* packages */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException, std::exception);
- virtual void SAL_CALL InstallPackageFiles( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* files */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException)
+ virtual void SAL_CALL InstallPackageFiles( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* files */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
- virtual void SAL_CALL InstallProvideFiles( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* files */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException)
+ virtual void SAL_CALL InstallProvideFiles( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* files */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
- virtual void SAL_CALL InstallCatalogs( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* files */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException)
+ virtual void SAL_CALL InstallCatalogs( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* files */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
- virtual void SAL_CALL InstallMimeTypes( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* mime_types */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException)
+ virtual void SAL_CALL InstallMimeTypes( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* mime_types */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
- virtual void SAL_CALL InstallFontconfigResources( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* resources */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException)
+ virtual void SAL_CALL InstallFontconfigResources( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* resources */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
- virtual void SAL_CALL InstallGStreamerResources( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* resources */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException)
+ virtual void SAL_CALL InstallGStreamerResources( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* resources */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
- virtual void SAL_CALL InstallResources( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* types */, const ::com::sun::star::uno::Sequence< OUString >& /* resources */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException)
+ virtual void SAL_CALL InstallResources( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* types */, const ::com::sun::star::uno::Sequence< OUString >& /* resources */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
- virtual void SAL_CALL RemovePackageByFiles( SAL_UNUSED_PARAMETER ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* files */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException)
+ virtual void SAL_CALL RemovePackageByFiles( SAL_UNUSED_PARAMETER ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* files */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
- virtual void SAL_CALL InstallPrinterDrivers( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* files */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException)
+ virtual void SAL_CALL InstallPrinterDrivers( ::sal_uInt32 /* xid */, const ::com::sun::star::uno::Sequence< OUString >& /* files */, const OUString& /* interaction */ ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
// XQuery Methods
- virtual void SAL_CALL IsInstalled( const OUString& /* package_name */, const OUString& /* interaction */, ::sal_Bool& /* installed */ ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL IsInstalled( const OUString& /* package_name */, const OUString& /* interaction */, ::sal_Bool& /* installed */ ) throw (::com::sun::star::uno::RuntimeException, std::exception);
- virtual void SAL_CALL SearchFile( const OUString& /* file_name */, const OUString& /* interaction */, ::sal_Bool& /* installed */, OUString& /* package_name */ ) throw (::com::sun::star::uno::RuntimeException)
+ virtual void SAL_CALL SearchFile( const OUString& /* file_name */, const OUString& /* interaction */, ::sal_Bool& /* installed */, OUString& /* package_name */ ) throw (::com::sun::star::uno::RuntimeException, std::exception)
{ throw ::com::sun::star::uno::RuntimeException(); } // not implemented
private:
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx
index 41af7b2059b6..e1a923d4a8e4 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -112,7 +112,7 @@ ShellExec::ShellExec( const Reference< XComponentContext >& xContext ) :
void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aParameter, sal_Int32 nFlags )
- throw (IllegalArgumentException, SystemShellExecuteException, RuntimeException)
+ throw (IllegalArgumentException, SystemShellExecuteException, RuntimeException, std::exception)
{
OStringBuffer aBuffer, aLaunchBuffer;
@@ -268,21 +268,21 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar
// XServiceInfo
OUString SAL_CALL ShellExec::getImplementationName( )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return OUString(SHELLEXEC_IMPL_NAME );
}
// XServiceInfo
sal_Bool SAL_CALL ShellExec::supportsService( const OUString& ServiceName )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return cppu::supportsService(this, ServiceName);
}
// XServiceInfo
Sequence< OUString > SAL_CALL ShellExec::getSupportedServiceNames( )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return ShellExec_getSupportedServiceNames();
}
diff --git a/shell/source/unix/exec/shellexec.hxx b/shell/source/unix/exec/shellexec.hxx
index da8f793b2672..33305e0ab44c 100644
--- a/shell/source/unix/exec/shellexec.hxx
+++ b/shell/source/unix/exec/shellexec.hxx
@@ -46,20 +46,20 @@ public:
virtual void SAL_CALL execute( const OUString& aCommand, const OUString& aParameter, sal_Int32 nFlags )
- throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::system::SystemShellExecuteException, ::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::system::SystemShellExecuteException, ::com::sun::star::uno::RuntimeException, std::exception);
// XServiceInfo
virtual OUString SAL_CALL getImplementationName( )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException, std::exception);
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException, std::exception);
};