summaryrefslogtreecommitdiff
path: root/framework/source/uiconfiguration/graphicnameaccess.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /framework/source/uiconfiguration/graphicnameaccess.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'framework/source/uiconfiguration/graphicnameaccess.cxx')
-rw-r--r--framework/source/uiconfiguration/graphicnameaccess.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/source/uiconfiguration/graphicnameaccess.cxx b/framework/source/uiconfiguration/graphicnameaccess.cxx
index 33b7b6ced705..e127152624be 100644
--- a/framework/source/uiconfiguration/graphicnameaccess.cxx
+++ b/framework/source/uiconfiguration/graphicnameaccess.cxx
@@ -43,7 +43,7 @@ void GraphicNameAccess::addElement( const OUString& rName, const uno::Reference<
uno::Any SAL_CALL GraphicNameAccess::getByName( const OUString& aName )
throw( container::NoSuchElementException,
lang::WrappedTargetException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
NameGraphicHashMap::const_iterator pIter = m_aNameToElementMap.find( aName );
if ( pIter != m_aNameToElementMap.end() )
@@ -53,7 +53,7 @@ throw( container::NoSuchElementException,
}
uno::Sequence< OUString > SAL_CALL GraphicNameAccess::getElementNames()
-throw(::com::sun::star::uno::RuntimeException)
+throw(::com::sun::star::uno::RuntimeException, std::exception)
{
if ( m_aSeq.getLength() == 0 )
{
@@ -72,7 +72,7 @@ throw(::com::sun::star::uno::RuntimeException)
}
sal_Bool SAL_CALL GraphicNameAccess::hasByName( const OUString& aName )
-throw(::com::sun::star::uno::RuntimeException)
+throw(::com::sun::star::uno::RuntimeException, std::exception)
{
NameGraphicHashMap::const_iterator pIter = m_aNameToElementMap.find( aName );
return ( pIter != m_aNameToElementMap.end() );
@@ -80,13 +80,13 @@ throw(::com::sun::star::uno::RuntimeException)
// XElementAccess
sal_Bool SAL_CALL GraphicNameAccess::hasElements()
-throw( uno::RuntimeException )
+throw( uno::RuntimeException, std::exception )
{
return ( !m_aNameToElementMap.empty() );
}
uno::Type SAL_CALL GraphicNameAccess::getElementType()
-throw( uno::RuntimeException )
+throw( uno::RuntimeException, std::exception )
{
return ::getCppuType( (const uno::Reference< graphic::XGraphic > *)NULL );
}