summaryrefslogtreecommitdiff
path: root/stoc/source/corereflection/crefl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/corereflection/crefl.cxx')
-rw-r--r--stoc/source/corereflection/crefl.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/stoc/source/corereflection/crefl.cxx b/stoc/source/corereflection/crefl.cxx
index 3d1793e0363f..999493113584 100644
--- a/stoc/source/corereflection/crefl.cxx
+++ b/stoc/source/corereflection/crefl.cxx
@@ -71,7 +71,6 @@ IdlReflectionServiceImpl::~IdlReflectionServiceImpl() {}
// XInterface
Any IdlReflectionServiceImpl::queryInterface( const Type & rType )
- throw(css::uno::RuntimeException, std::exception)
{
Any aRet( ::cppu::queryInterface(
rType,
@@ -95,7 +94,6 @@ void IdlReflectionServiceImpl::release() throw()
// XTypeProvider
Sequence< Type > IdlReflectionServiceImpl::getTypes()
- throw (css::uno::RuntimeException, std::exception)
{
static OTypeCollection * s_pTypes = nullptr;
if (! s_pTypes)
@@ -115,7 +113,6 @@ Sequence< Type > IdlReflectionServiceImpl::getTypes()
}
Sequence< sal_Int8 > IdlReflectionServiceImpl::getImplementationId()
- throw (css::uno::RuntimeException, std::exception)
{
return css::uno::Sequence<sal_Int8>();
}
@@ -123,7 +120,6 @@ Sequence< sal_Int8 > IdlReflectionServiceImpl::getImplementationId()
// XComponent
void IdlReflectionServiceImpl::dispose()
- throw(css::uno::RuntimeException, std::exception)
{
OComponentHelper::dispose();
@@ -143,19 +139,16 @@ void IdlReflectionServiceImpl::dispose()
// XServiceInfo
OUString IdlReflectionServiceImpl::getImplementationName()
- throw(css::uno::RuntimeException, std::exception)
{
return core_getImplementationName();
}
sal_Bool IdlReflectionServiceImpl::supportsService( const OUString & rServiceName )
- throw(css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, rServiceName);
}
Sequence< OUString > IdlReflectionServiceImpl::getSupportedServiceNames()
- throw(css::uno::RuntimeException, std::exception)
{
return core_getSupportedServiceNames();
}
@@ -163,7 +156,6 @@ Sequence< OUString > IdlReflectionServiceImpl::getSupportedServiceNames()
// XIdlReflection
Reference< XIdlClass > IdlReflectionServiceImpl::getType( const Any & rObj )
- throw(css::uno::RuntimeException, std::exception)
{
return (rObj.hasValue() ? forType( rObj.getValueTypeRef() ) : Reference< XIdlClass >());
}
@@ -215,7 +207,6 @@ inline Reference< XIdlClass > IdlReflectionServiceImpl::constructClass(
}
Reference< XIdlClass > IdlReflectionServiceImpl::forName( const OUString & rTypeName )
- throw(css::uno::RuntimeException, std::exception)
{
Reference< XIdlClass > xRet;
Any aAny( _aElements.getValue( rTypeName ) );
@@ -243,7 +234,6 @@ Reference< XIdlClass > IdlReflectionServiceImpl::forName( const OUString & rType
// XHierarchicalNameAccess
Any IdlReflectionServiceImpl::getByHierarchicalName( const OUString & rName )
- throw(css::container::NoSuchElementException, css::uno::RuntimeException, std::exception)
{
Any aRet( _aElements.getValue( rName ) );
if (! aRet.hasValue())
@@ -297,7 +287,6 @@ Any IdlReflectionServiceImpl::getByHierarchicalName( const OUString & rName )
}
sal_Bool IdlReflectionServiceImpl::hasByHierarchicalName( const OUString & rName )
- throw(css::uno::RuntimeException, std::exception)
{
try
{
@@ -311,7 +300,6 @@ sal_Bool IdlReflectionServiceImpl::hasByHierarchicalName( const OUString & rName
Reference< XIdlClass > IdlReflectionServiceImpl::forType( typelib_TypeDescription * pTypeDescr )
- throw(css::uno::RuntimeException)
{
Reference< XIdlClass > xRet;
OUString aName( pTypeDescr->pTypeName );
@@ -331,7 +319,6 @@ Reference< XIdlClass > IdlReflectionServiceImpl::forType( typelib_TypeDescriptio
}
Reference< XIdlClass > IdlReflectionServiceImpl::forType( typelib_TypeDescriptionReference * pRef )
- throw(css::uno::RuntimeException)
{
typelib_TypeDescription * pTD = nullptr;
TYPELIB_DANGER_GET( &pTD, pRef );
@@ -348,7 +335,6 @@ Reference< XIdlClass > IdlReflectionServiceImpl::forType( typelib_TypeDescriptio
const Mapping & IdlReflectionServiceImpl::getCpp2Uno()
- throw(css::uno::RuntimeException)
{
if (! _aCpp2Uno.is())
{
@@ -371,7 +357,6 @@ const Mapping & IdlReflectionServiceImpl::getCpp2Uno()
}
const Mapping & IdlReflectionServiceImpl::getUno2Cpp()
- throw(css::uno::RuntimeException)
{
if (! _aUno2Cpp.is())
{
@@ -395,7 +380,6 @@ const Mapping & IdlReflectionServiceImpl::getUno2Cpp()
uno_Interface * IdlReflectionServiceImpl::mapToUno(
const Any & rObj, typelib_InterfaceTypeDescription * pTo )
- throw(css::uno::RuntimeException)
{
Reference< XInterface > xObj;
if (extract( rObj, pTo, xObj, this ))
@@ -409,7 +393,6 @@ uno_Interface * IdlReflectionServiceImpl::mapToUno(
/// @throws css::uno::Exception
Reference< XInterface > SAL_CALL IdlReflectionServiceImpl_create(
const Reference< XComponentContext > & xContext )
- throw(css::uno::Exception)
{
return Reference< XInterface >( static_cast<XWeak *>(static_cast<OWeakObject *>(new IdlReflectionServiceImpl( xContext ))) );
}