summaryrefslogtreecommitdiff
path: root/comphelper/source/officeinstdir
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 /comphelper/source/officeinstdir
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'comphelper/source/officeinstdir')
-rw-r--r--comphelper/source/officeinstdir/officeinstallationdirectories.cxx14
-rw-r--r--comphelper/source/officeinstdir/officeinstallationdirectories.hxx14
2 files changed, 14 insertions, 14 deletions
diff --git a/comphelper/source/officeinstdir/officeinstallationdirectories.cxx b/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
index d4867693fd13..4e7bc4f3c43c 100644
--- a/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
+++ b/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
@@ -115,7 +115,7 @@ OfficeInstallationDirectories::~OfficeInstallationDirectories()
// virtual
OUString SAL_CALL
OfficeInstallationDirectories::getOfficeInstallationDirectoryURL()
- throw ( uno::RuntimeException )
+ throw ( uno::RuntimeException, std::exception )
{
initDirs();
return OUString( *m_pOfficeBrandDir );
@@ -125,7 +125,7 @@ OfficeInstallationDirectories::getOfficeInstallationDirectoryURL()
// virtual
OUString SAL_CALL
OfficeInstallationDirectories::getOfficeUserDataDirectoryURL()
- throw ( uno::RuntimeException )
+ throw ( uno::RuntimeException, std::exception )
{
initDirs();
return OUString( *m_pUserDir );
@@ -136,7 +136,7 @@ OfficeInstallationDirectories::getOfficeUserDataDirectoryURL()
// virtual
OUString SAL_CALL
OfficeInstallationDirectories::makeRelocatableURL( const OUString& URL )
- throw ( uno::RuntimeException )
+ throw ( uno::RuntimeException, std::exception )
{
if ( !URL.isEmpty() )
{
@@ -172,7 +172,7 @@ OfficeInstallationDirectories::makeRelocatableURL( const OUString& URL )
// virtual
OUString SAL_CALL
OfficeInstallationDirectories::makeAbsoluteURL( const OUString& URL )
- throw ( uno::RuntimeException )
+ throw ( uno::RuntimeException, std::exception )
{
if ( !URL.isEmpty() )
{
@@ -210,7 +210,7 @@ OfficeInstallationDirectories::makeAbsoluteURL( const OUString& URL )
// virtual
OUString SAL_CALL
OfficeInstallationDirectories::getImplementationName()
- throw ( uno::RuntimeException )
+ throw ( uno::RuntimeException, std::exception )
{
return getImplementationName_static();
}
@@ -218,7 +218,7 @@ OfficeInstallationDirectories::getImplementationName()
// virtual
sal_Bool SAL_CALL
OfficeInstallationDirectories::supportsService( const OUString& ServiceName )
- throw ( uno::RuntimeException )
+ throw ( uno::RuntimeException, std::exception )
{
return cppu::supportsService(this, ServiceName);
}
@@ -226,7 +226,7 @@ OfficeInstallationDirectories::supportsService( const OUString& ServiceName )
// virtual
uno::Sequence< OUString > SAL_CALL
OfficeInstallationDirectories::getSupportedServiceNames()
- throw ( uno::RuntimeException )
+ throw ( uno::RuntimeException, std::exception )
{
return getSupportedServiceNames_static();
}
diff --git a/comphelper/source/officeinstdir/officeinstallationdirectories.hxx b/comphelper/source/officeinstdir/officeinstallationdirectories.hxx
index 22517fa0e1ab..d631f1f0d54e 100644
--- a/comphelper/source/officeinstdir/officeinstallationdirectories.hxx
+++ b/comphelper/source/officeinstdir/officeinstallationdirectories.hxx
@@ -51,27 +51,27 @@ public:
// XOfficeInstallationDirectories
virtual OUString SAL_CALL
getOfficeInstallationDirectoryURL()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual OUString SAL_CALL
getOfficeUserDataDirectoryURL()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual OUString SAL_CALL
makeRelocatableURL( const OUString& URL )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual OUString SAL_CALL
makeAbsoluteURL( const OUString& URL )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::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);
// XServiceInfo - static versions (used for component registration)
static OUString SAL_CALL