summaryrefslogtreecommitdiff
path: root/ucb/source/core/provprox.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/core/provprox.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'ucb/source/core/provprox.cxx')
-rw-r--r--ucb/source/core/provprox.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/ucb/source/core/provprox.cxx b/ucb/source/core/provprox.cxx
index a9c4356ff8f3..f0864f03ca68 100644
--- a/ucb/source/core/provprox.cxx
+++ b/ucb/source/core/provprox.cxx
@@ -98,7 +98,7 @@ ONE_INSTANCE_SERVICE_FACTORY_IMPL( UcbContentProviderProxyFactory );
Reference< XContentProvider > SAL_CALL
UcbContentProviderProxyFactory::createContentProvider(
const OUString& Service )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return Reference< XContentProvider >(
new UcbContentProviderProxy( m_xSMgr, Service ) );
@@ -140,7 +140,7 @@ XINTERFACE_COMMON_IMPL( UcbContentProviderProxy );
// virtual
Any SAL_CALL
UcbContentProviderProxy::queryInterface( const Type & rType )
- throw ( RuntimeException )
+ throw ( RuntimeException, std::exception )
{
Any aRet = cppu::queryInterface( rType,
static_cast< XTypeProvider * >( this ),
@@ -175,7 +175,7 @@ XTYPEPROVIDER_COMMON_IMPL( UcbContentProviderProxy );
Sequence< Type > SAL_CALL UcbContentProviderProxy::getTypes() \
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
// Get original provider an forward the call...
osl::Guard< osl::Mutex > aGuard( m_aMutex );
@@ -216,7 +216,7 @@ XSERVICEINFO_NOFACTORY_IMPL_1( UcbContentProviderProxy,
Reference< XContent > SAL_CALL UcbContentProviderProxy::queryContent(
const Reference< XContentIdentifier >& Identifier )
throw( IllegalIdentifierException,
- RuntimeException )
+ RuntimeException, std::exception )
{
// Get original provider an forward the call...
@@ -234,7 +234,7 @@ Reference< XContent > SAL_CALL UcbContentProviderProxy::queryContent(
sal_Int32 SAL_CALL UcbContentProviderProxy::compareContentIds(
const Reference< XContentIdentifier >& Id1,
const Reference< XContentIdentifier >& Id2 )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
// Get original provider an forward the call...
@@ -261,7 +261,7 @@ UcbContentProviderProxy::registerInstance( const OUString& Template,
const OUString& Arguments,
sal_Bool ReplaceExisting )
throw( IllegalArgumentException,
- RuntimeException )
+ RuntimeException, std::exception )
{
// Just remember that this method was called ( and the params ).
@@ -285,7 +285,7 @@ Reference< XContentProvider > SAL_CALL
UcbContentProviderProxy::deregisterInstance( const OUString& Template,
const OUString& Arguments )
throw( IllegalArgumentException,
- RuntimeException )
+ RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
@@ -323,7 +323,7 @@ UcbContentProviderProxy::deregisterInstance( const OUString& Template,
// virtual
Reference< XContentProvider > SAL_CALL
UcbContentProviderProxy::getContentProvider()
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
if ( !m_xProvider.is() )