summaryrefslogtreecommitdiff
path: root/chart2/source/tools/NameContainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/NameContainer.cxx')
-rw-r--r--chart2/source/tools/NameContainer.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/chart2/source/tools/NameContainer.cxx b/chart2/source/tools/NameContainer.cxx
index ab2d48ec636b..58e9296a678b 100644
--- a/chart2/source/tools/NameContainer.cxx
+++ b/chart2/source/tools/NameContainer.cxx
@@ -59,26 +59,22 @@ NameContainer::~NameContainer()
//XServiceInfo
OUString SAL_CALL NameContainer::getImplementationName()
- throw( css::uno::RuntimeException, std::exception )
{
return m_aImplementationName;
}
sal_Bool SAL_CALL NameContainer::supportsService( const OUString& ServiceName )
- throw( css::uno::RuntimeException, std::exception )
{
return cppu::supportsService(this, ServiceName);
}
Sequence< OUString > SAL_CALL NameContainer::getSupportedServiceNames()
- throw( css::uno::RuntimeException, std::exception )
{
return { m_aServicename };
}
// XNameContainer
void SAL_CALL NameContainer::insertByName( const OUString& rName, const Any& rElement )
- throw( lang::IllegalArgumentException, container::ElementExistException, lang::WrappedTargetException, uno::RuntimeException, std::exception )
{
if( m_aMap.find( rName ) != m_aMap.end() )
throw container::ElementExistException();
@@ -86,7 +82,6 @@ void SAL_CALL NameContainer::insertByName( const OUString& rName, const Any& rEl
}
void SAL_CALL NameContainer::removeByName( const OUString& Name )
- throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
tContentMap::iterator aIt( m_aMap.find( Name ));
if( aIt == m_aMap.end())
@@ -96,7 +91,6 @@ void SAL_CALL NameContainer::removeByName( const OUString& Name )
// XNameReplace
void SAL_CALL NameContainer::replaceByName( const OUString& rName, const Any& rElement )
- throw( lang::IllegalArgumentException, container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception )
{
tContentMap::iterator aIt( m_aMap.find( rName ));
if( aIt == m_aMap.end() )
@@ -106,7 +100,6 @@ void SAL_CALL NameContainer::replaceByName( const OUString& rName, const Any& rE
// XNameAccess
Any SAL_CALL NameContainer::getByName( const OUString& rName )
- throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
tContentMap::iterator aIter( m_aMap.find( rName ) );
if( aIter == m_aMap.end() )
@@ -115,7 +108,6 @@ Any SAL_CALL NameContainer::getByName( const OUString& rName )
}
Sequence< OUString > SAL_CALL NameContainer::getElementNames()
- throw( uno::RuntimeException, std::exception )
{
sal_Int32 nCount = m_aMap.size();
Sequence< OUString > aSeq(nCount);
@@ -126,27 +118,23 @@ Sequence< OUString > SAL_CALL NameContainer::getElementNames()
}
sal_Bool SAL_CALL NameContainer::hasByName( const OUString& rName )
- throw( uno::RuntimeException, std::exception )
{
return ( m_aMap.find( rName ) != m_aMap.end() );
}
// XElementAccess
sal_Bool SAL_CALL NameContainer::hasElements()
- throw( uno::RuntimeException, std::exception )
{
return ! m_aMap.empty();
}
uno::Type SAL_CALL NameContainer::getElementType()
- throw( uno::RuntimeException, std::exception )
{
return m_aType;
}
// XCloneable
uno::Reference< util::XCloneable > SAL_CALL NameContainer::createClone()
- throw ( uno::RuntimeException, std::exception )
{
return uno::Reference< util::XCloneable >( new NameContainer( *this ));
}