summaryrefslogtreecommitdiff
path: root/linguistic/source/lngopt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/lngopt.cxx')
-rw-r--r--linguistic/source/lngopt.cxx27
1 files changed, 3 insertions, 24 deletions
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx
index ba99a5a21a0f..96908dd1ac73 100644
--- a/linguistic/source/lngopt.cxx
+++ b/linguistic/source/lngopt.cxx
@@ -212,14 +212,12 @@ void LinguProps::launchEvent( const PropertyChangeEvent &rEvt ) const
/// @throws Exception
Reference< XInterface > SAL_CALL LinguProps_CreateInstance(
const Reference< XMultiServiceFactory > & /*rSMgr*/ )
- throw(Exception)
{
Reference< XInterface > xService = static_cast<cppu::OWeakObject*>(new LinguProps);
return xService;
}
Reference< XPropertySetInfo > SAL_CALL LinguProps::getPropertySetInfo()
- throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -230,8 +228,6 @@ Reference< XPropertySetInfo > SAL_CALL LinguProps::getPropertySetInfo()
void SAL_CALL LinguProps::setPropertyValue(
const OUString& rPropertyName, const Any& rValue )
- throw(UnknownPropertyException, PropertyVetoException,
- IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -249,7 +245,6 @@ void SAL_CALL LinguProps::setPropertyValue(
}
Any SAL_CALL LinguProps::getPropertyValue( const OUString& rPropertyName )
- throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -267,7 +262,6 @@ Any SAL_CALL LinguProps::getPropertyValue( const OUString& rPropertyName )
void SAL_CALL LinguProps::addPropertyChangeListener(
const OUString& rPropertyName,
const Reference< XPropertyChangeListener >& rxListener )
- throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -282,7 +276,6 @@ void SAL_CALL LinguProps::addPropertyChangeListener(
void SAL_CALL LinguProps::removePropertyChangeListener(
const OUString& rPropertyName,
const Reference< XPropertyChangeListener >& rxListener )
- throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -297,21 +290,17 @@ void SAL_CALL LinguProps::removePropertyChangeListener(
void SAL_CALL LinguProps::addVetoableChangeListener(
const OUString& /*rPropertyName*/,
const Reference< XVetoableChangeListener >& /*xListener*/ )
- throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
}
void SAL_CALL LinguProps::removeVetoableChangeListener(
const OUString& /*rPropertyName*/,
const Reference< XVetoableChangeListener >& /*xListener*/ )
- throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
}
void SAL_CALL LinguProps::setFastPropertyValue( sal_Int32 nHandle, const Any& rValue )
- throw(UnknownPropertyException, PropertyVetoException,
- IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -326,7 +315,6 @@ void SAL_CALL LinguProps::setFastPropertyValue( sal_Int32 nHandle, const Any& rV
Any SAL_CALL LinguProps::getFastPropertyValue( sal_Int32 nHandle )
- throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -337,7 +325,6 @@ Any SAL_CALL LinguProps::getFastPropertyValue( sal_Int32 nHandle )
Sequence< PropertyValue > SAL_CALL
LinguProps::getPropertyValues()
- throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -361,8 +348,6 @@ Sequence< PropertyValue > SAL_CALL
void SAL_CALL
LinguProps::setPropertyValues( const Sequence< PropertyValue >& rProps )
- throw(UnknownPropertyException, PropertyVetoException,
- IllegalArgumentException, WrappedTargetException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -377,7 +362,6 @@ void SAL_CALL
void SAL_CALL
LinguProps::dispose()
- throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -397,7 +381,6 @@ void SAL_CALL
void SAL_CALL
LinguProps::addEventListener( const Reference< XEventListener >& rxListener )
- throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -407,7 +390,6 @@ void SAL_CALL
void SAL_CALL
LinguProps::removeEventListener( const Reference< XEventListener >& rxListener )
- throw(RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -420,21 +402,18 @@ void SAL_CALL
// XServiceInfo
OUString SAL_CALL LinguProps::getImplementationName()
- throw(RuntimeException, std::exception)
{
return getImplementationName_Static();
}
// XServiceInfo
sal_Bool SAL_CALL LinguProps::supportsService( const OUString& ServiceName )
- throw(RuntimeException, std::exception)
{
return cppu::supportsService(this, ServiceName);
}
// XServiceInfo
uno::Sequence< OUString > SAL_CALL LinguProps::getSupportedServiceNames()
- throw(RuntimeException, std::exception)
{
return getSupportedServiceNames_Static();
}
@@ -447,7 +426,7 @@ uno::Sequence< OUString > LinguProps::getSupportedServiceNames_Static()
return aSNS;
}
-bool LinguProps::getPropertyBool(const OUString& aPropertyName) throw (css::uno::RuntimeException)
+bool LinguProps::getPropertyBool(const OUString& aPropertyName)
{
uno::Any any = getPropertyValue(aPropertyName);
bool b = false;
@@ -455,7 +434,7 @@ bool LinguProps::getPropertyBool(const OUString& aPropertyName) throw (css::uno:
return b;
}
-sal_Int16 LinguProps::getPropertyInt16(const OUString& aPropertyName) throw (css::uno::RuntimeException)
+sal_Int16 LinguProps::getPropertyInt16(const OUString& aPropertyName)
{
uno::Any any = getPropertyValue(aPropertyName);
sal_Int16 b = 0;
@@ -463,7 +442,7 @@ sal_Int16 LinguProps::getPropertyInt16(const OUString& aPropertyName) throw (css
return b;
}
-Locale LinguProps::getPropertyLocale(const OUString& aPropertyName) throw (css::uno::RuntimeException)
+Locale LinguProps::getPropertyLocale(const OUString& aPropertyName)
{
uno::Any any = getPropertyValue(aPropertyName);
css::lang::Locale b;