summaryrefslogtreecommitdiff
path: root/forms/source/xforms/NameContainer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/NameContainer.hxx')
-rw-r--r--forms/source/xforms/NameContainer.hxx34
1 files changed, 8 insertions, 26 deletions
diff --git a/forms/source/xforms/NameContainer.hxx b/forms/source/xforms/NameContainer.hxx
index aa2a86c10535..f5aad0950ea2 100644
--- a/forms/source/xforms/NameContainer.hxx
+++ b/forms/source/xforms/NameContainer.hxx
@@ -83,14 +83,12 @@ public:
// methods for XElementAccess
- virtual css::uno::Type SAL_CALL getElementType()
- throw( css::uno::RuntimeException, std::exception ) override
+ virtual css::uno::Type SAL_CALL getElementType() override
{
return cppu::UnoType<T>::get();
}
- virtual sal_Bool SAL_CALL hasElements()
- throw( css::uno::RuntimeException, std::exception ) override
+ virtual sal_Bool SAL_CALL hasElements() override
{
return ! maItems.empty();
}
@@ -100,10 +98,7 @@ public:
virtual css::uno::Any SAL_CALL getByName(
- const OUString& rName )
- throw( css::container::NoSuchElementException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception ) override
+ const OUString& rName ) override
{
typename map_t::const_iterator aIter = findItem( rName );
if( aIter == maItems.end() )
@@ -112,15 +107,13 @@ public:
return css::uno::makeAny( aIter->second );
}
- virtual css::uno::Sequence<OUString> SAL_CALL getElementNames()
- throw( css::uno::RuntimeException, std::exception ) override
+ virtual css::uno::Sequence<OUString> SAL_CALL getElementNames() override
{
return comphelper::mapKeysToSequence(maItems);
}
virtual sal_Bool SAL_CALL hasByName(
- const OUString& rName )
- throw( css::uno::RuntimeException, std::exception ) override
+ const OUString& rName ) override
{
return hasItem( rName );
}
@@ -131,11 +124,7 @@ public:
virtual void SAL_CALL replaceByName(
const OUString& rName,
- const css::uno::Any& aElement )
- throw( css::lang::IllegalArgumentException,
- css::container::NoSuchElementException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override
+ const css::uno::Any& aElement ) override
{
T aItem;
if( aElement >>= aItem )
@@ -153,11 +142,7 @@ public:
virtual void SAL_CALL insertByName(
const OUString& rName,
- const css::uno::Any& aElement )
- throw( css::lang::IllegalArgumentException,
- css::container::ElementExistException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception ) override
+ const css::uno::Any& aElement ) override
{
T aItem;
if( aElement >>= aItem )
@@ -170,10 +155,7 @@ public:
}
virtual void SAL_CALL removeByName(
- const OUString& rName )
- throw( css::container::NoSuchElementException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException, std::exception) override
+ const OUString& rName ) override
{
if( hasByName( rName ) )
remove( rName );