summaryrefslogtreecommitdiff
path: root/linguistic/source/convdiclist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/convdiclist.cxx')
-rw-r--r--linguistic/source/convdiclist.cxx36
1 files changed, 9 insertions, 27 deletions
diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx
index 7bc413ca7559..3aecf316ec40 100644
--- a/linguistic/source/convdiclist.cxx
+++ b/linguistic/source/convdiclist.cxx
@@ -88,20 +88,20 @@ public:
ConvDicNameContainer& operator=(const ConvDicNameContainer&) = delete;
// XElementAccess
- virtual css::uno::Type SAL_CALL getElementType( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasElements( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Type SAL_CALL getElementType( ) override;
+ virtual sal_Bool SAL_CALL hasElements( ) override;
// XNameAccess
- virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual css::uno::Sequence< OUString > SAL_CALL getElementNames( ) throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getElementNames( ) override;
+ virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) override;
// XNameReplace
- virtual void SAL_CALL replaceByName( const OUString& aName, const css::uno::Any& aElement ) throw (css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL replaceByName( const OUString& aName, const css::uno::Any& aElement ) override;
// XNameContainer
- virtual void SAL_CALL insertByName( const OUString& aName, const css::uno::Any& aElement ) throw (css::lang::IllegalArgumentException, css::container::ElementExistException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeByName( const OUString& Name ) throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL insertByName( const OUString& aName, const css::uno::Any& aElement ) override;
+ virtual void SAL_CALL removeByName( const OUString& Name ) override;
// looks for conversion dictionaries with the specified extension
// in the directory and adds them to the container
@@ -167,21 +167,18 @@ uno::Reference< XConversionDictionary > ConvDicNameContainer::GetByName(
}
uno::Type SAL_CALL ConvDicNameContainer::getElementType( )
- throw (RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
return uno::Type( cppu::UnoType<XConversionDictionary>::get());
}
sal_Bool SAL_CALL ConvDicNameContainer::hasElements( )
- throw (RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
return !aConvDics.empty();
}
uno::Any SAL_CALL ConvDicNameContainer::getByName( const OUString& rName )
- throw (NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
uno::Reference< XConversionDictionary > xRes( GetByName( rName ) );
@@ -191,7 +188,6 @@ uno::Any SAL_CALL ConvDicNameContainer::getByName( const OUString& rName )
}
uno::Sequence< OUString > SAL_CALL ConvDicNameContainer::getElementNames( )
- throw (RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -204,7 +200,6 @@ uno::Sequence< OUString > SAL_CALL ConvDicNameContainer::getElementNames( )
}
sal_Bool SAL_CALL ConvDicNameContainer::hasByName( const OUString& rName )
- throw (RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
return GetByName( rName ).is();
@@ -213,7 +208,6 @@ sal_Bool SAL_CALL ConvDicNameContainer::hasByName( const OUString& rName )
void SAL_CALL ConvDicNameContainer::replaceByName(
const OUString& rName,
const uno::Any& rElement )
- throw (IllegalArgumentException, NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -230,7 +224,6 @@ void SAL_CALL ConvDicNameContainer::replaceByName(
void SAL_CALL ConvDicNameContainer::insertByName(
const OUString& rName,
const Any& rElement )
- throw (IllegalArgumentException, ElementExistException, WrappedTargetException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -245,7 +238,6 @@ void SAL_CALL ConvDicNameContainer::insertByName(
}
void SAL_CALL ConvDicNameContainer::removeByName( const OUString& rName )
- throw (NoSuchElementException, WrappedTargetException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -405,7 +397,7 @@ ConvDicNameContainer & ConvDicList::GetNameContainer()
return *mxNameContainer;
}
-uno::Reference< container::XNameContainer > SAL_CALL ConvDicList::getDictionaryContainer( ) throw (RuntimeException, std::exception)
+uno::Reference< container::XNameContainer > SAL_CALL ConvDicList::getDictionaryContainer( )
{
MutexGuard aGuard( GetLinguMutex() );
GetNameContainer();
@@ -417,7 +409,6 @@ uno::Reference< XConversionDictionary > SAL_CALL ConvDicList::addNewDictionary(
const OUString& rName,
const Locale& rLocale,
sal_Int16 nConvDicType )
- throw (NoSupportException, ElementExistException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -457,7 +448,6 @@ uno::Sequence< OUString > SAL_CALL ConvDicList::queryConversions(
sal_Int16 nConversionDictionaryType,
ConversionDirection eDirection,
sal_Int32 nTextConversionOptions )
- throw (IllegalArgumentException, NoSupportException, RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -496,7 +486,6 @@ sal_Int16 SAL_CALL ConvDicList::queryMaxCharCount(
const Locale& rLocale,
sal_Int16 nConversionDictionaryType,
ConversionDirection eDirection )
- throw (RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
@@ -519,7 +508,6 @@ sal_Int16 SAL_CALL ConvDicList::queryMaxCharCount(
}
void SAL_CALL ConvDicList::dispose( )
- throw (RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
if (!bDisposing)
@@ -534,7 +522,6 @@ void SAL_CALL ConvDicList::dispose( )
void SAL_CALL ConvDicList::addEventListener(
const uno::Reference< XEventListener >& rxListener )
- throw (RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
if (!bDisposing && rxListener.is())
@@ -543,7 +530,6 @@ void SAL_CALL ConvDicList::addEventListener(
void SAL_CALL ConvDicList::removeEventListener(
const uno::Reference< XEventListener >& rxListener )
- throw (RuntimeException, std::exception)
{
MutexGuard aGuard( GetLinguMutex() );
if (!bDisposing && rxListener.is())
@@ -551,19 +537,16 @@ void SAL_CALL ConvDicList::removeEventListener(
}
OUString SAL_CALL ConvDicList::getImplementationName()
- throw (RuntimeException, std::exception)
{
return getImplementationName_Static();
}
sal_Bool SAL_CALL ConvDicList::supportsService( const OUString& rServiceName )
- throw (RuntimeException, std::exception)
{
return cppu::supportsService(this, rServiceName);
}
uno::Sequence< OUString > SAL_CALL ConvDicList::getSupportedServiceNames()
- throw (RuntimeException, std::exception)
{
return getSupportedServiceNames_Static();
}
@@ -578,7 +561,6 @@ uno::Sequence< OUString > ConvDicList::getSupportedServiceNames_Static()
/// @throws css::uno::Exception
uno::Reference< uno::XInterface > SAL_CALL ConvDicList_CreateInstance(
const uno::Reference< XMultiServiceFactory > & /*rSMgr*/ )
- throw(Exception)
{
return StaticConvDicList::get();
}