diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-27 17:09:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-27 18:24:59 +0100 |
commit | 93e8257410378a4c45296049157d7344a69f7a5e (patch) | |
tree | 91bf97d3084299a2500d0fe7b6ebbd6bc80115bd /linguistic/source | |
parent | 345005495552a6b5e91e66eec6872dd359d0a164 (diff) |
coverity#1308449 Uncaught exception
Change-Id: If9eea42dc28404dcf9e532fc72cdd1f12e9698b2
Diffstat (limited to 'linguistic/source')
-rw-r--r-- | linguistic/source/spelldsp.cxx | 2 | ||||
-rw-r--r-- | linguistic/source/spelldsp.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index 11b4ebfcf47d..a23846506b09 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -281,7 +281,7 @@ bool SpellCheckerDispatcher::isValid_Impl( LanguageType nLanguage, const PropertyValues& rProperties, bool bCheckDics) - throw( RuntimeException, IllegalArgumentException ) + throw( RuntimeException, IllegalArgumentException, std::exception ) { MutexGuard aGuard( GetLinguMutex() ); diff --git a/linguistic/source/spelldsp.hxx b/linguistic/source/spelldsp.hxx index 0ca04bc63bce..c88ed244be07 100644 --- a/linguistic/source/spelldsp.hxx +++ b/linguistic/source/spelldsp.hxx @@ -84,7 +84,7 @@ class SpellCheckerDispatcher : bool isValid_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 ); ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSpellAlternatives > |