summaryrefslogtreecommitdiff
path: root/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/spellcheck/macosxspell/macspellimp.mm')
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macspellimp.mm15
1 files changed, 0 insertions, 15 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
index 7378beb15c55..e17240146d78 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
+++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
@@ -93,7 +93,6 @@ PropertyHelper_Spell & MacSpellChecker::GetPropHelper_Impl()
Sequence< Locale > SAL_CALL MacSpellChecker::getLocales()
- throw(RuntimeException)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -187,7 +186,6 @@ Sequence< Locale > SAL_CALL MacSpellChecker::getLocales()
sal_Bool SAL_CALL MacSpellChecker::hasLocale(const Locale& rLocale)
- throw(RuntimeException)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -272,7 +270,6 @@ sal_Int16 MacSpellChecker::GetSpellFailure( const OUString &rWord, const Locale
sal_Bool SAL_CALL
MacSpellChecker::isValid( const OUString& rWord, const Locale& rLocale,
const PropertyValues& rProperties )
- throw(IllegalArgumentException, RuntimeException)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -381,7 +378,6 @@ Reference< XSpellAlternatives >
Reference< XSpellAlternatives > SAL_CALL
MacSpellChecker::spell( const OUString& rWord, const Locale& rLocale,
const PropertyValues& rProperties )
- throw(IllegalArgumentException, RuntimeException)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -402,7 +398,6 @@ Reference< XSpellAlternatives > SAL_CALL
/// @throws Exception
Reference< XInterface > SAL_CALL MacSpellChecker_CreateInstance(
const Reference< XMultiServiceFactory > & /*rSMgr*/ )
- throw(Exception)
{
Reference< XInterface > xService = static_cast<cppu::OWeakObject*>(new MacSpellChecker);
@@ -413,7 +408,6 @@ Reference< XInterface > SAL_CALL MacSpellChecker_CreateInstance(
sal_Bool SAL_CALL
MacSpellChecker::addLinguServiceEventListener(
const Reference< XLinguServiceEventListener >& rxLstnr )
- throw(RuntimeException)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -429,7 +423,6 @@ sal_Bool SAL_CALL
sal_Bool SAL_CALL
MacSpellChecker::removeLinguServiceEventListener(
const Reference< XLinguServiceEventListener >& rxLstnr )
- throw(RuntimeException)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -445,7 +438,6 @@ sal_Bool SAL_CALL
OUString SAL_CALL
MacSpellChecker::getServiceDisplayName( const Locale& /*rLocale*/ )
- throw(RuntimeException)
{
MutexGuard aGuard( GetLinguMutex() );
return OUString( "Mac OS X Spell Checker" );
@@ -454,7 +446,6 @@ OUString SAL_CALL
void SAL_CALL
MacSpellChecker::initialize( const Sequence< Any >& rArguments )
- throw(Exception, RuntimeException)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -484,7 +475,6 @@ void SAL_CALL
void SAL_CALL
MacSpellChecker::dispose()
- throw(RuntimeException)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -499,7 +489,6 @@ void SAL_CALL
void SAL_CALL
MacSpellChecker::addEventListener( const Reference< XEventListener >& rxListener )
- throw(RuntimeException)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -510,7 +499,6 @@ void SAL_CALL
void SAL_CALL
MacSpellChecker::removeEventListener( const Reference< XEventListener >& rxListener )
- throw(RuntimeException)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -520,19 +508,16 @@ void SAL_CALL
// Service specific part
OUString SAL_CALL MacSpellChecker::getImplementationName()
- throw(RuntimeException)
{
return getImplementationName_Static();
}
sal_Bool SAL_CALL MacSpellChecker::supportsService( const OUString& ServiceName )
- throw(RuntimeException)
{
return cppu::supportsService(this, ServiceName);
}
Sequence< OUString > SAL_CALL MacSpellChecker::getSupportedServiceNames()
- throw(RuntimeException)
{
return getSupportedServiceNames_Static();
}