diff options
Diffstat (limited to 'connectivity/source/commontools/paramwrapper.cxx')
-rw-r--r-- | connectivity/source/commontools/paramwrapper.cxx | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/connectivity/source/commontools/paramwrapper.cxx b/connectivity/source/commontools/paramwrapper.cxx index 72e91a977e76..1f2466ca3774 100644 --- a/connectivity/source/commontools/paramwrapper.cxx +++ b/connectivity/source/commontools/paramwrapper.cxx @@ -97,7 +97,6 @@ namespace param IMPLEMENT_FORWARD_REFCOUNT( ParameterWrapper, UnoBase ) css::uno::Any ParameterWrapper::queryInterface(css::uno::Type const & aType) - throw (css::uno::RuntimeException, std::exception) { css::uno::Any a(UnoBase::queryInterface(aType)); if (!a.hasValue()) { @@ -112,7 +111,7 @@ namespace param } - Sequence< Type > SAL_CALL ParameterWrapper::getTypes( ) throw(RuntimeException, std::exception) + Sequence< Type > SAL_CALL ParameterWrapper::getTypes( ) { Sequence< Type > aTypes( 5 ); aTypes[ 0 ] = cppu::UnoType<XWeak>::get(); @@ -143,7 +142,7 @@ namespace param } - Reference< XPropertySetInfo > ParameterWrapper::getPropertySetInfo() throw( RuntimeException, std::exception ) + Reference< XPropertySetInfo > ParameterWrapper::getPropertySetInfo() { return createPropertySetInfo( getInfoHelper() ); } @@ -177,7 +176,7 @@ namespace param } - sal_Bool ParameterWrapper::convertFastPropertyValue(Any& rConvertedValue, Any& rOldValue, sal_Int32 nHandle, const Any& rValue) throw( IllegalArgumentException ) + sal_Bool ParameterWrapper::convertFastPropertyValue(Any& rConvertedValue, Any& rOldValue, sal_Int32 nHandle, const Any& rValue) { OSL_ENSURE( PROPERTY_ID_VALUE == nHandle, "ParameterWrapper::convertFastPropertyValue: the only non-readonly prop should be our PROPERTY_VALUE!" ); (void)nHandle; @@ -189,7 +188,7 @@ namespace param } - void ParameterWrapper::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) throw( Exception, std::exception ) + void ParameterWrapper::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) { if ( nHandle == PROPERTY_ID_VALUE ) { @@ -283,7 +282,7 @@ namespace param } - Type SAL_CALL ParameterWrapperContainer::getElementType() throw( RuntimeException, std::exception ) + Type SAL_CALL ParameterWrapperContainer::getElementType() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -291,7 +290,7 @@ namespace param } - sal_Bool SAL_CALL ParameterWrapperContainer::hasElements() throw( RuntimeException, std::exception ) + sal_Bool SAL_CALL ParameterWrapperContainer::hasElements() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -299,7 +298,7 @@ namespace param } - sal_Int32 SAL_CALL ParameterWrapperContainer::getCount() throw( RuntimeException, std::exception ) + sal_Int32 SAL_CALL ParameterWrapperContainer::getCount() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -307,7 +306,7 @@ namespace param } - Any SAL_CALL ParameterWrapperContainer::getByIndex( sal_Int32 _nIndex ) throw( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) + Any SAL_CALL ParameterWrapperContainer::getByIndex( sal_Int32 _nIndex ) { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); @@ -319,7 +318,7 @@ namespace param } - Reference< XEnumeration > ParameterWrapperContainer::createEnumeration() throw( RuntimeException, std::exception ) + Reference< XEnumeration > ParameterWrapperContainer::createEnumeration() { ::osl::MutexGuard aGuard( m_aMutex ); impl_checkDisposed_throw(); |