summaryrefslogtreecommitdiff
path: root/dtrans/source/cnttype/mcnttfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/cnttype/mcnttfactory.cxx')
-rw-r--r--dtrans/source/cnttype/mcnttfactory.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dtrans/source/cnttype/mcnttfactory.cxx b/dtrans/source/cnttype/mcnttfactory.cxx
index e1bfc96dbdfc..3e1c016ae5c5 100644
--- a/dtrans/source/cnttype/mcnttfactory.cxx
+++ b/dtrans/source/cnttype/mcnttfactory.cxx
@@ -54,7 +54,7 @@ CMimeContentTypeFactory::CMimeContentTypeFactory()
// createMimeContentType
Reference< XMimeContentType > CMimeContentTypeFactory::createMimeContentType( const OUString& aContentType )
- throw( IllegalArgumentException, RuntimeException )
+ throw( IllegalArgumentException, RuntimeException, std::exception )
{
MutexGuard aGuard( m_aMutex );
return Reference< XMimeContentType >( new CMimeContentType( aContentType ) );
@@ -63,14 +63,14 @@ Reference< XMimeContentType > CMimeContentTypeFactory::createMimeContentType( co
// XServiceInfo
OUString SAL_CALL CMimeContentTypeFactory::getImplementationName( )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return OUString( MIMECONTENTTYPEFACTORY_IMPL_NAME );
}
// XServiceInfo
sal_Bool SAL_CALL CMimeContentTypeFactory::supportsService( const OUString& ServiceName )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return cppu::supportsService(this, ServiceName);
}
@@ -78,7 +78,7 @@ sal_Bool SAL_CALL CMimeContentTypeFactory::supportsService( const OUString& Serv
// XServiceInfo
Sequence< OUString > SAL_CALL CMimeContentTypeFactory::getSupportedServiceNames( )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
return MimeContentTypeFactory_getSupportedServiceNames( );
}