summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/package/pkgprovider.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 /ucb/source/ucp/package/pkgprovider.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'ucb/source/ucp/package/pkgprovider.cxx')
-rw-r--r--ucb/source/ucp/package/pkgprovider.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/package/pkgprovider.cxx b/ucb/source/ucp/package/pkgprovider.cxx
index 3f65059e3e3d..82ebd7a07443 100644
--- a/ucb/source/ucp/package/pkgprovider.cxx
+++ b/ucb/source/ucp/package/pkgprovider.cxx
@@ -65,7 +65,7 @@ public:
// XInterface
virtual uno::Any SAL_CALL
queryInterface( const uno::Type& aType )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{ return m_xNA->queryInterface( aType ); }
virtual void SAL_CALL
acquire() throw()
@@ -77,11 +77,11 @@ public:
// XHierarchicalNameAccess
virtual uno::Any SAL_CALL
getByHierarchicalName( const OUString& aName )
- throw( container::NoSuchElementException, uno::RuntimeException )
+ throw( container::NoSuchElementException, uno::RuntimeException, std::exception )
{ return m_xNA->getByHierarchicalName( aName ); }
virtual sal_Bool SAL_CALL
hasByHierarchicalName( const OUString& aName )
- throw( uno::RuntimeException )
+ throw( uno::RuntimeException, std::exception )
{ return m_xNA->hasByHierarchicalName( aName ); }
};
@@ -194,7 +194,7 @@ ONE_INSTANCE_SERVICE_FACTORY_IMPL( ContentProvider );
// virtual
uno::Reference< ucb::XContent > SAL_CALL ContentProvider::queryContent(
const uno::Reference< ucb::XContentIdentifier >& Identifier )
- throw( ucb::IllegalIdentifierException, uno::RuntimeException )
+ throw( ucb::IllegalIdentifierException, uno::RuntimeException, std::exception )
{
if ( !Identifier.is() )
return uno::Reference< ucb::XContent >();