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 /linguistic/source/lngopt.cxx | |
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 'linguistic/source/lngopt.cxx')
-rw-r--r-- | linguistic/source/lngopt.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx index 63286648066b..37af9e9b1909 100644 --- a/linguistic/source/lngopt.cxx +++ b/linguistic/source/lngopt.cxx @@ -250,12 +250,6 @@ void SAL_CALL LinguProps::setPropertyValue( launchEvent( aChgEvt ); } } -#ifdef LINGU_EXCEPTIONS - else - { - throw UnknownPropertyException(); - } -#endif } Any SAL_CALL LinguProps::getPropertyValue( const OUString& rPropertyName ) @@ -270,12 +264,6 @@ Any SAL_CALL LinguProps::getPropertyValue( const OUString& rPropertyName ) { aRet = aConfig.GetProperty( pCur->nWID ); } -#ifdef LINGU_EXCEPTIONS - else - { - throw UnknownPropertyException(); - } -#endif return aRet; } @@ -292,12 +280,6 @@ void SAL_CALL LinguProps::addPropertyChangeListener( const SfxItemPropertySimpleEntry* pCur = aPropertyMap.getByName( rPropertyName ); if(pCur) aPropListeners.addInterface( pCur->nWID, rxListener ); -#ifdef LINGU_EXCEPTIONS - else - { - throw UnknownPropertyException(); - } -#endif } } @@ -313,12 +295,6 @@ void SAL_CALL LinguProps::removePropertyChangeListener( const SfxItemPropertySimpleEntry* pCur = aPropertyMap.getByName( rPropertyName ); if(pCur) aPropListeners.removeInterface( pCur->nWID, rxListener ); -#ifdef LINGU_EXCEPTIONS - else - { - throw UnknownPropertyException(); - } -#endif } } |