summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 16:14:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-27 18:24:58 +0100
commit4af4d4858b2230ce93fb965c68fbb92e1ff3c07c (patch)
tree3f3681f313e941b1339c1c8ea0dc645ac14ac346 /linguistic
parentcfbbb3ca5d0d7bc479e219e17aa2919196664118 (diff)
coverity#1308446 Uncaught exception
Change-Id: I880b6a68326255b6be93eafa9c2cb05fd0136e4b
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/spelldsp.cxx2
-rw-r--r--linguistic/source/spelldsp.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx
index 89d4190253c6..11b4ebfcf47d 100644
--- a/linguistic/source/spelldsp.cxx
+++ b/linguistic/source/spelldsp.cxx
@@ -448,7 +448,7 @@ Reference< XSpellAlternatives > SpellCheckerDispatcher::spell_Impl(
LanguageType nLanguage,
const PropertyValues& rProperties,
bool bCheckDics )
- throw(IllegalArgumentException, RuntimeException)
+ throw(IllegalArgumentException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
diff --git a/linguistic/source/spelldsp.hxx b/linguistic/source/spelldsp.hxx
index 3e2985e525db..0ca04bc63bce 100644
--- a/linguistic/source/spelldsp.hxx
+++ b/linguistic/source/spelldsp.hxx
@@ -91,7 +91,7 @@ class SpellCheckerDispatcher :
spell_Impl(const OUString& aWord, LanguageType nLanguage,
const ::com::sun::star::beans::PropertyValues& aProperties,
bool bCheckDics)
- throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException );
+ throw( ::com::sun::star::uno::RuntimeException, ::com::sun::star::lang::IllegalArgumentException, std::exception );
public:
explicit SpellCheckerDispatcher( LngSvcMgr &rLngSvcMgr );