summaryrefslogtreecommitdiff
path: root/lingucomponent/source/thesaurus/libnth
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/thesaurus/libnth')
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesdta.cxx4
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesdta.hxx4
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.cxx22
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.hxx22
4 files changed, 26 insertions, 26 deletions
diff --git a/lingucomponent/source/thesaurus/libnth/nthesdta.cxx b/lingucomponent/source/thesaurus/libnth/nthesdta.cxx
index 6cc4b911cd25..6f8b937fb7bf 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesdta.cxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesdta.cxx
@@ -53,14 +53,14 @@ Meaning::~Meaning()
}
OUString SAL_CALL Meaning::getMeaning()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
return aTerm;
}
Sequence< OUString > SAL_CALL Meaning::querySynonyms()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
return aSyn;
diff --git a/lingucomponent/source/thesaurus/libnth/nthesdta.hxx b/lingucomponent/source/thesaurus/libnth/nthesdta.hxx
index ec16610353ef..c748469a2dd1 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesdta.hxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesdta.hxx
@@ -50,8 +50,8 @@ public:
virtual ~Meaning();
// XMeaning
- virtual OUString SAL_CALL getMeaning() throw(::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL querySynonyms() throw(::com::sun::star::uno::RuntimeException);
+ virtual OUString SAL_CALL getMeaning() throw(::com::sun::star::uno::RuntimeException, std::exception);
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL querySynonyms() throw(::com::sun::star::uno::RuntimeException, std::exception);
// non-interface specific functions
void SetSynonyms( const ::com::sun::star::uno::Sequence< OUString > &rSyn );
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
index 15b590db013e..b0b99724cf69 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
@@ -125,7 +125,7 @@ PropertyHelper_Thesaurus& Thesaurus::GetPropHelper_Impl()
}
Sequence< Locale > SAL_CALL Thesaurus::getLocales()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -251,7 +251,7 @@ Sequence< Locale > SAL_CALL Thesaurus::getLocales()
}
sal_Bool SAL_CALL Thesaurus::hasLocale(const Locale& rLocale)
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -274,7 +274,7 @@ sal_Bool SAL_CALL Thesaurus::hasLocale(const Locale& rLocale)
Sequence < Reference < ::com::sun::star::linguistic2::XMeaning > > SAL_CALL Thesaurus::queryMeanings(
const OUString& qTerm, const Locale& rLocale,
const PropertyValues& rProperties)
- throw(IllegalArgumentException, RuntimeException)
+ throw(IllegalArgumentException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -526,14 +526,14 @@ Reference< XInterface > SAL_CALL Thesaurus_CreateInstance(
}
OUString SAL_CALL Thesaurus::getServiceDisplayName( const Locale& /*rLocale*/ )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
return OUString( "OpenOffice.org New Thesaurus" );
}
void SAL_CALL Thesaurus::initialize( const Sequence< Any >& rArguments )
- throw(Exception, RuntimeException)
+ throw(Exception, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -589,7 +589,7 @@ OUString SAL_CALL Thesaurus::makeInitCap(const OUString& aTerm, CharClass * pCC)
}
void SAL_CALL Thesaurus::dispose()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -608,7 +608,7 @@ void SAL_CALL Thesaurus::dispose()
}
void SAL_CALL Thesaurus::addEventListener( const Reference< XEventListener >& rxListener )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -617,7 +617,7 @@ void SAL_CALL Thesaurus::addEventListener( const Reference< XEventListener >& rx
}
void SAL_CALL Thesaurus::removeEventListener( const Reference< XEventListener >& rxListener )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -627,20 +627,20 @@ void SAL_CALL Thesaurus::removeEventListener( const Reference< XEventListener >&
// Service specific part
OUString SAL_CALL Thesaurus::getImplementationName()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
return getImplementationName_Static();
}
sal_Bool SAL_CALL Thesaurus::supportsService( const OUString& ServiceName )
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
Sequence< OUString > SAL_CALL Thesaurus::getSupportedServiceNames()
- throw(RuntimeException)
+ throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
return getSupportedServiceNames_Static();
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.hxx b/lingucomponent/source/thesaurus/libnth/nthesimp.hxx
index ecfb4be8b725..e82cfec80972 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesimp.hxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesimp.hxx
@@ -98,27 +98,27 @@ public:
virtual ~Thesaurus();
// XSupportedLocales (for XThesaurus)
- virtual Sequence< Locale > SAL_CALL getLocales() throw(RuntimeException);
- virtual sal_Bool SAL_CALL hasLocale( const Locale& rLocale ) throw(RuntimeException);
+ virtual Sequence< Locale > SAL_CALL getLocales() throw(RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL hasLocale( const Locale& rLocale ) throw(RuntimeException, std::exception);
// XThesaurus
- virtual Sequence< Reference < ::com::sun::star::linguistic2::XMeaning > > SAL_CALL queryMeanings( const OUString& rTerm, const Locale& rLocale, const PropertyValues& rProperties ) throw(IllegalArgumentException, RuntimeException);
+ virtual Sequence< Reference < ::com::sun::star::linguistic2::XMeaning > > SAL_CALL queryMeanings( const OUString& rTerm, const Locale& rLocale, const PropertyValues& rProperties ) throw(IllegalArgumentException, RuntimeException, std::exception);
// XServiceDisplayName
- virtual OUString SAL_CALL getServiceDisplayName( const Locale& rLocale ) throw(RuntimeException);
+ virtual OUString SAL_CALL getServiceDisplayName( const Locale& rLocale ) throw(RuntimeException, std::exception);
// XInitialization
- virtual void SAL_CALL initialize( const Sequence< Any >& rArguments ) throw(Exception, RuntimeException);
+ virtual void SAL_CALL initialize( const Sequence< Any >& rArguments ) throw(Exception, RuntimeException, std::exception);
// XComponent
- virtual void SAL_CALL dispose() throw(RuntimeException);
- virtual void SAL_CALL addEventListener( const Reference< XEventListener >& rxListener ) throw(RuntimeException);
- virtual void SAL_CALL removeEventListener( const Reference< XEventListener >& rxListener ) throw(RuntimeException);
+ virtual void SAL_CALL dispose() throw(RuntimeException, std::exception);
+ virtual void SAL_CALL addEventListener( const Reference< XEventListener >& rxListener ) throw(RuntimeException, std::exception);
+ virtual void SAL_CALL removeEventListener( const Reference< XEventListener >& rxListener ) throw(RuntimeException, std::exception);
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(RuntimeException);
- virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) throw(RuntimeException);
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException);
+ virtual OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) throw(RuntimeException, std::exception);
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception);
static inline OUString
getImplementationName_Static() throw();