summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_adapter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'pyuno/source/module/pyuno_adapter.cxx')
-rw-r--r--pyuno/source/module/pyuno_adapter.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/pyuno/source/module/pyuno_adapter.cxx b/pyuno/source/module/pyuno_adapter.cxx
index f43d2785797e..65a317b39e7e 100644
--- a/pyuno/source/module/pyuno_adapter.cxx
+++ b/pyuno/source/module/pyuno_adapter.cxx
@@ -70,7 +70,7 @@ Sequence<sal_Int8> Adapter::getUnoTunnelImplementationId()
return g_id.getImplementationId();
}
-sal_Int64 Adapter::getSomething( const Sequence< sal_Int8 > &id) throw (RuntimeException, std::exception)
+sal_Int64 Adapter::getSomething( const Sequence< sal_Int8 > &id)
{
if( id == g_id.getImplementationId() )
return reinterpret_cast<sal_Int64>(this);
@@ -78,7 +78,6 @@ sal_Int64 Adapter::getSomething( const Sequence< sal_Int8 > &id) throw (RuntimeE
}
void raiseInvocationTargetExceptionWhenNeeded( const Runtime &runtime )
- throw ( InvocationTargetException, RuntimeException )
{
if( !Py_IsInitialized() )
throw InvocationTargetException();
@@ -95,7 +94,6 @@ void raiseInvocationTargetExceptionWhenNeeded( const Runtime &runtime )
}
Reference< XIntrospectionAccess > Adapter::getIntrospection()
- throw ( RuntimeException, std::exception )
{
// not supported
return Reference< XIntrospectionAccess > ();
@@ -179,7 +177,6 @@ Any Adapter::invoke( const OUString &aFunctionName,
const Sequence< Any >& aParams,
Sequence< sal_Int16 > &aOutParamIndex,
Sequence< Any > &aOutParam)
- throw (IllegalArgumentException,CannotConvertException,InvocationTargetException,RuntimeException, std::exception)
{
Any ret;
@@ -354,7 +351,6 @@ Any Adapter::invoke( const OUString &aFunctionName,
}
void Adapter::setValue( const OUString & aPropertyName, const Any & value )
- throw( UnknownPropertyException, CannotConvertException, InvocationTargetException,RuntimeException, std::exception)
{
if( !hasProperty( aPropertyName ) )
{
@@ -389,7 +385,6 @@ void Adapter::setValue( const OUString & aPropertyName, const Any & value )
}
Any Adapter::getValue( const OUString & aPropertyName )
- throw ( UnknownPropertyException, RuntimeException, std::exception )
{
Any ret;
PyThreadAttach guard( mInterpreter );
@@ -416,13 +411,11 @@ Any Adapter::getValue( const OUString & aPropertyName )
}
sal_Bool Adapter::hasMethod( const OUString & aMethodName )
- throw ( RuntimeException, std::exception )
{
return hasProperty( aMethodName );
}
sal_Bool Adapter::hasProperty( const OUString & aPropertyName )
- throw ( RuntimeException, std::exception )
{
bool bRet = false;
PyThreadAttach guard( mInterpreter );