summaryrefslogtreecommitdiff
path: root/linguistic/source/thesdsp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/thesdsp.cxx')
-rw-r--r--linguistic/source/thesdsp.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/linguistic/source/thesdsp.cxx b/linguistic/source/thesdsp.cxx
index f182b122a959..d9e5ce030668 100644
--- a/linguistic/source/thesdsp.cxx
+++ b/linguistic/source/thesdsp.cxx
@@ -124,13 +124,7 @@ Sequence< Reference< XMeaning > > SAL_CALL
ThesSvcByLangMap_t::iterator aIt( aSvcMap.find( nLanguage ) );
LangSvcEntries_Thes *pEntry = aIt != aSvcMap.end() ? aIt->second.get() : NULL;
- if (!pEntry)
- {
-#ifdef LINGU_EXCEPTIONS
- throw IllegalArgumentException();
-#endif
- }
- else
+ if (pEntry)
{
OUString aChkWord( rTerm );
aChkWord = aChkWord.replace( SVT_HARD_SPACE, ' ' );