diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /ucbhelper/source/provider/contentidentifier.cxx | |
parent | Fixup whitespace changes, remove commented code. (diff) | |
download | core-5e21a413c788f839a66d9e4c14e745ed18058db8.tar.gz core-5e21a413c788f839a66d9e4c14e745ed18058db8.zip |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'ucbhelper/source/provider/contentidentifier.cxx')
-rw-r--r-- | ucbhelper/source/provider/contentidentifier.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ucbhelper/source/provider/contentidentifier.cxx b/ucbhelper/source/provider/contentidentifier.cxx index 265d639b09b8..387e04deec20 100644 --- a/ucbhelper/source/provider/contentidentifier.cxx +++ b/ucbhelper/source/provider/contentidentifier.cxx @@ -116,7 +116,7 @@ void SAL_CALL ContentIdentifier::release() throw() // virtual Any SAL_CALL ContentIdentifier::queryInterface( const Type & rType ) - throw ( RuntimeException ) + throw ( RuntimeException, std::exception ) { Any aRet = cppu::queryInterface( rType, static_cast< XTypeProvider * >( this ), @@ -134,7 +134,7 @@ ContentIdentifier::queryInterface( const Type & rType ) // virtual Sequence< sal_Int8 > SAL_CALL ContentIdentifier::getImplementationId() - throw( RuntimeException ) + throw( RuntimeException, std::exception ) { static cppu::OImplementationId* pId = NULL; if ( !pId ) @@ -153,7 +153,7 @@ ContentIdentifier::getImplementationId() // virtual Sequence< com::sun::star::uno::Type > SAL_CALL ContentIdentifier::getTypes() - throw( RuntimeException ) + throw( RuntimeException, std::exception ) { static cppu::OTypeCollection* pCollection = NULL; if ( !pCollection ) @@ -180,7 +180,7 @@ ContentIdentifier::getTypes() // virtual OUString SAL_CALL ContentIdentifier::getContentIdentifier() - throw( RuntimeException ) + throw( RuntimeException, std::exception ) { return m_pImpl->m_aContentId; } @@ -188,7 +188,7 @@ OUString SAL_CALL ContentIdentifier::getContentIdentifier() // virtual OUString SAL_CALL ContentIdentifier::getContentProviderScheme() - throw( RuntimeException ) + throw( RuntimeException, std::exception ) { return m_pImpl->m_aProviderScheme; } |