diff options
Diffstat (limited to 'scripting/source/basprov/basmethnode.cxx')
-rw-r--r-- | scripting/source/basprov/basmethnode.cxx | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx index a67a8f766432..e9da25e5cfe3 100644 --- a/scripting/source/basprov/basmethnode.cxx +++ b/scripting/source/basprov/basmethnode.cxx @@ -114,7 +114,7 @@ namespace basprov // XBrowseNode - OUString BasicMethodNodeImpl::getName( ) throw (RuntimeException, std::exception) + OUString BasicMethodNodeImpl::getName( ) { SolarMutexGuard aGuard; @@ -126,19 +126,19 @@ namespace basprov } - Sequence< Reference< browse::XBrowseNode > > BasicMethodNodeImpl::getChildNodes( ) throw (RuntimeException, std::exception) + Sequence< Reference< browse::XBrowseNode > > BasicMethodNodeImpl::getChildNodes( ) { return Sequence< Reference< browse::XBrowseNode > >(); } - sal_Bool BasicMethodNodeImpl::hasChildNodes( ) throw (RuntimeException, std::exception) + sal_Bool BasicMethodNodeImpl::hasChildNodes( ) { return false; } - sal_Int16 BasicMethodNodeImpl::getType( ) throw (RuntimeException, std::exception) + sal_Int16 BasicMethodNodeImpl::getType( ) { return browse::BrowseNodeTypes::SCRIPT; } @@ -167,7 +167,7 @@ namespace basprov // XPropertySet - Reference< XPropertySetInfo > BasicMethodNodeImpl::getPropertySetInfo( ) throw (RuntimeException, std::exception) + Reference< XPropertySetInfo > BasicMethodNodeImpl::getPropertySetInfo( ) { Reference< XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) ); return xInfo; @@ -177,7 +177,7 @@ namespace basprov // XInvocation - Reference< XIntrospectionAccess > BasicMethodNodeImpl::getIntrospection( ) throw (RuntimeException, std::exception) + Reference< XIntrospectionAccess > BasicMethodNodeImpl::getIntrospection( ) { return Reference< XIntrospectionAccess >(); } @@ -185,8 +185,6 @@ namespace basprov Any BasicMethodNodeImpl::invoke( const OUString& aFunctionName, const Sequence< Any >& aParams, Sequence< sal_Int16 >& aOutParamIndex, Sequence< Any >& aOutParam ) - throw (IllegalArgumentException, script::CannotConvertException, - reflection::InvocationTargetException, RuntimeException, std::exception) { (void)aParams; (void)aOutParamIndex; @@ -272,8 +270,6 @@ namespace basprov void BasicMethodNodeImpl::setValue( const OUString& aPropertyName, const Any& aValue ) - throw (UnknownPropertyException, script::CannotConvertException, - reflection::InvocationTargetException, RuntimeException, std::exception) { (void)aPropertyName; (void)aValue; @@ -283,7 +279,7 @@ namespace basprov } - Any BasicMethodNodeImpl::getValue( const OUString& aPropertyName ) throw (UnknownPropertyException, RuntimeException, std::exception) + Any BasicMethodNodeImpl::getValue( const OUString& aPropertyName ) { (void)aPropertyName; @@ -292,7 +288,7 @@ namespace basprov } - sal_Bool BasicMethodNodeImpl::hasMethod( const OUString& aName ) throw (RuntimeException, std::exception) + sal_Bool BasicMethodNodeImpl::hasMethod( const OUString& aName ) { bool bReturn = false; if ( aName == BASPROV_PROPERTY_EDITABLE ) @@ -302,7 +298,7 @@ namespace basprov } - sal_Bool BasicMethodNodeImpl::hasProperty( const OUString& aName ) throw (RuntimeException, std::exception) + sal_Bool BasicMethodNodeImpl::hasProperty( const OUString& aName ) { (void)aName; |