summaryrefslogtreecommitdiff
path: root/forms/source/xforms/namedcollection.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/namedcollection.hxx')
-rw-r--r--forms/source/xforms/namedcollection.hxx17
1 files changed, 5 insertions, 12 deletions
diff --git a/forms/source/xforms/namedcollection.hxx b/forms/source/xforms/namedcollection.hxx
index 4cd629b54688..c0a31bd99b83 100644
--- a/forms/source/xforms/namedcollection.hxx
+++ b/forms/source/xforms/namedcollection.hxx
@@ -84,24 +84,19 @@ protected:
public:
// XElementAccess
- virtual css::uno::Type SAL_CALL getElementType()
- throw( css::uno::RuntimeException ) override
+ virtual css::uno::Type SAL_CALL getElementType() override
{
return Collection<T>::getElementType();
}
- virtual sal_Bool SAL_CALL hasElements()
- throw( css::uno::RuntimeException ) override
+ virtual sal_Bool SAL_CALL hasElements() override
{
return Collection<T>::hasElements();
}
// XNameAccess : XElementAccess
virtual css::uno::Any SAL_CALL getByName(
- const OUString& aName )
- throw( css::container::NoSuchElementException,
- css::lang::WrappedTargetException,
- css::uno::RuntimeException ) override
+ const OUString& aName ) override
{
if( hasItem( aName ) )
return css::uno::makeAny( getItem( aName ) );
@@ -110,15 +105,13 @@ public:
}
- virtual css::uno::Sequence<OUString> SAL_CALL getElementNames()
- throw( css::uno::RuntimeException ) override
+ virtual css::uno::Sequence<OUString> SAL_CALL getElementNames() override
{
return getNames();
}
virtual sal_Bool SAL_CALL hasByName(
- const OUString& aName )
- throw( css::uno::RuntimeException ) override
+ const OUString& aName ) override
{
return hasItem( aName );
}