diff options
Diffstat (limited to 'framework/source/uiconfiguration/graphicnameaccess.cxx')
-rw-r--r-- | framework/source/uiconfiguration/graphicnameaccess.cxx | 10 |
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 ); } |