diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2012-10-05 23:42:12 -0300 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-10-09 21:37:59 +0000 |
commit | ebf82e52c945f8c2a7c021b547064e5bbeadfe2f (patch) | |
tree | f002ddbef0c5eb2eefd751e443a168aafbe2d4a5 /lingucomponent/source/spellcheck/macosxspell | |
parent | 55149144cb926513ef250c87fdf0c59e11e2f6cf (diff) |
Kill use of macro LINGU_EXCEPTIONS
This macro is not defined, so we can kill all code that have the
"#ifdef LINGU_EXCEPTIONS". Just a cleanup, the rationale is the same.
Change-Id: Ib6f784859210d5a59210af51766ef4d7b8d7ead6
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/778
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'lingucomponent/source/spellcheck/macosxspell')
-rw-r--r-- | lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm index f34eabdaee46..7be1983e1d16 100644 --- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm +++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm @@ -281,11 +281,7 @@ sal_Bool SAL_CALL return sal_True; if (!hasLocale( rLocale )) -#ifdef LINGU_EXCEPTIONS - throw( IllegalArgumentException() ); -#else return sal_True; -#endif // Get property values to be used. // These are be the default values set in the SN_LINGU_PROPERTIES @@ -395,11 +391,7 @@ Reference< XSpellAlternatives > SAL_CALL return NULL; if (!hasLocale( rLocale )) -#ifdef LINGU_EXCEPTIONS - throw( IllegalArgumentException() ); -#else return NULL; -#endif Reference< XSpellAlternatives > xAlt; if (!isValid( rWord, rLocale, rProperties )) |