diff options
Diffstat (limited to 'forms/source/component/Button.cxx')
-rw-r--r-- | forms/source/component/Button.cxx | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/forms/source/component/Button.cxx b/forms/source/component/Button.cxx index 15944189adb2..99d076c3096a 100644 --- a/forms/source/component/Button.cxx +++ b/forms/source/component/Button.cxx @@ -63,7 +63,7 @@ OButtonModel::OButtonModel(const Reference<XComponentContext>& _rxFactory) } -Any SAL_CALL OButtonModel::queryAggregation( const Type& _type ) throw(RuntimeException, std::exception) +Any SAL_CALL OButtonModel::queryAggregation( const Type& _type ) { Any aReturn = OClickableImageBaseModel::queryAggregation( _type ); if ( !aReturn.hasValue() ) @@ -114,7 +114,7 @@ IMPLEMENT_DEFAULT_CLONING( OButtonModel ) // XServiceInfo -css::uno::Sequence<OUString> OButtonModel::getSupportedServiceNames() throw(std::exception) +css::uno::Sequence<OUString> OButtonModel::getSupportedServiceNames() { css::uno::Sequence<OUString> aSupported = OClickableImageBaseModel::getSupportedServiceNames(); aSupported.realloc( aSupported.getLength() + 2 ); @@ -127,13 +127,13 @@ css::uno::Sequence<OUString> OButtonModel::getSupportedServiceNames() throw(std } -OUString OButtonModel::getServiceName() throw ( css::uno::RuntimeException, std::exception) +OUString OButtonModel::getServiceName() { return OUString(FRM_COMPONENT_COMMANDBUTTON); // old (non-sun) name for compatibility ! } -void OButtonModel::write(const Reference<XObjectOutputStream>& _rxOutStream) throw (css::io::IOException, css::uno::RuntimeException, std::exception) +void OButtonModel::write(const Reference<XObjectOutputStream>& _rxOutStream) { OClickableImageBaseModel::write(_rxOutStream); @@ -154,7 +154,7 @@ void OButtonModel::write(const Reference<XObjectOutputStream>& _rxOutStream) thr } -void OButtonModel::read(const Reference<XObjectInputStream>& _rxInStream) throw (css::io::IOException, css::uno::RuntimeException, std::exception) +void OButtonModel::read(const Reference<XObjectInputStream>& _rxInStream) { OClickableImageBaseModel::read(_rxInStream); @@ -221,7 +221,7 @@ void SAL_CALL OButtonModel::disposing() } -void SAL_CALL OButtonModel::reset() throw (RuntimeException, std::exception) +void SAL_CALL OButtonModel::reset() { if ( !m_aResetHelper.approveReset() ) return; @@ -232,13 +232,13 @@ void SAL_CALL OButtonModel::reset() throw (RuntimeException, std::exception) } -void SAL_CALL OButtonModel::addResetListener( const Reference< XResetListener >& _listener ) throw (RuntimeException, std::exception) +void SAL_CALL OButtonModel::addResetListener( const Reference< XResetListener >& _listener ) { m_aResetHelper.addResetListener( _listener ); } -void SAL_CALL OButtonModel::removeResetListener( const Reference< XResetListener >& _listener ) throw (RuntimeException, std::exception) +void SAL_CALL OButtonModel::removeResetListener( const Reference< XResetListener >& _listener ) { m_aResetHelper.removeResetListener( _listener ); } @@ -259,7 +259,7 @@ void SAL_CALL OButtonModel::getFastPropertyValue( Any& _rValue, sal_Int32 _nHand } -void SAL_CALL OButtonModel::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const Any& _rValue ) throw (Exception, std::exception) +void SAL_CALL OButtonModel::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const Any& _rValue ) { switch ( _nHandle ) { @@ -279,7 +279,7 @@ void SAL_CALL OButtonModel::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle } -sal_Bool SAL_CALL OButtonModel::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) throw (IllegalArgumentException, RuntimeException, std::exception) +sal_Bool SAL_CALL OButtonModel::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) { bool bModified = false; switch ( _nHandle ) @@ -339,7 +339,7 @@ Sequence<Type> OButtonControl::_getTypes() } -css::uno::Sequence<OUString> OButtonControl::getSupportedServiceNames() throw(std::exception) +css::uno::Sequence<OUString> OButtonControl::getSupportedServiceNames() { css::uno::Sequence<OUString> aSupported = OClickableImageBaseControl::getSupportedServiceNames(); aSupported.realloc(aSupported.getLength() + 2); @@ -379,7 +379,7 @@ OButtonControl::~OButtonControl() // UNO binding -Any SAL_CALL OButtonControl::queryAggregation(const Type& _rType) throw (RuntimeException, std::exception) +Any SAL_CALL OButtonControl::queryAggregation(const Type& _rType) { // if asked for the XTypeProvider, don't let OButtonControl_BASE do this Any aReturn; @@ -405,7 +405,7 @@ void SAL_CALL OButtonControl::disposing() } -void SAL_CALL OButtonControl::disposing( const EventObject& _rSource ) throw( RuntimeException, std::exception ) +void SAL_CALL OButtonControl::disposing( const EventObject& _rSource ) { OControl::disposing( _rSource ); OFormNavigationHelper::disposing( _rSource ); @@ -413,7 +413,7 @@ void SAL_CALL OButtonControl::disposing( const EventObject& _rSource ) throw( Ru // ActionListener -void OButtonControl::actionPerformed(const ActionEvent& /*rEvent*/) throw ( css::uno::RuntimeException, std::exception) +void OButtonControl::actionPerformed(const ActionEvent& /*rEvent*/) { // Asynchronous for css::util::URL-Button ImplSVEvent * n = Application::PostUserEvent( LINK(this, OButtonControl, OnClick) ); @@ -503,7 +503,7 @@ void OButtonControl::actionPerformed_Impl( bool _bNotifyListener, const css::awt // XButton -void OButtonControl::setLabel(const OUString& Label) throw( RuntimeException, std::exception ) +void OButtonControl::setLabel(const OUString& Label) { Reference<XButton> xButton; query_aggregation( m_xAggregate, xButton ); @@ -512,7 +512,7 @@ void OButtonControl::setLabel(const OUString& Label) throw( RuntimeException, st } -void SAL_CALL OButtonControl::setActionCommand(const OUString& _rCommand) throw( RuntimeException, std::exception ) +void SAL_CALL OButtonControl::setActionCommand(const OUString& _rCommand) { { ::osl::MutexGuard aGuard( m_aMutex ); @@ -526,13 +526,13 @@ void SAL_CALL OButtonControl::setActionCommand(const OUString& _rCommand) throw( } -void SAL_CALL OButtonControl::addActionListener(const Reference<XActionListener>& _rxListener) throw( RuntimeException, std::exception ) +void SAL_CALL OButtonControl::addActionListener(const Reference<XActionListener>& _rxListener) { m_aActionListeners.addInterface(_rxListener); } -void SAL_CALL OButtonControl::removeActionListener(const Reference<XActionListener>& _rxListener) throw( RuntimeException, std::exception ) +void SAL_CALL OButtonControl::removeActionListener(const Reference<XActionListener>& _rxListener) { m_aActionListeners.removeInterface(_rxListener); } @@ -589,7 +589,7 @@ void OButtonControl::startOrStopModelPropertyListening( bool _bStart ) } -sal_Bool SAL_CALL OButtonControl::setModel( const Reference< XControlModel >& _rxModel ) throw ( RuntimeException, std::exception ) +sal_Bool SAL_CALL OButtonControl::setModel( const Reference< XControlModel >& _rxModel ) { startOrStopModelPropertyListening( false ); bool bResult = OClickableImageBaseControl::setModel( _rxModel ); @@ -621,7 +621,7 @@ void OButtonControl::modelFeatureUrlPotentiallyChanged( ) } -void SAL_CALL OButtonControl::propertyChange( const PropertyChangeEvent& _rEvent ) throw ( RuntimeException, std::exception ) +void SAL_CALL OButtonControl::propertyChange( const PropertyChangeEvent& _rEvent ) { if ( _rEvent.PropertyName == PROPERTY_TARGET_URL || _rEvent.PropertyName == PROPERTY_BUTTONTYPE @@ -675,7 +675,7 @@ sal_Int16 OButtonControl::getModelUrlFeatureId( ) const } -void SAL_CALL OButtonControl::setDesignMode( sal_Bool _bOn ) throw( RuntimeException, std::exception ) +void SAL_CALL OButtonControl::setDesignMode( sal_Bool _bOn ) { OClickableImageBaseControl::setDesignMode( _bOn ); @@ -734,14 +734,14 @@ bool OButtonControl::isEnabled( sal_Int16 _nFeatureId ) const } -void SAL_CALL OButtonControl::registerDispatchProviderInterceptor( const Reference< XDispatchProviderInterceptor >& _rxInterceptor ) throw (RuntimeException, std::exception) +void SAL_CALL OButtonControl::registerDispatchProviderInterceptor( const Reference< XDispatchProviderInterceptor >& _rxInterceptor ) { OClickableImageBaseControl::registerDispatchProviderInterceptor( _rxInterceptor ); OFormNavigationHelper::registerDispatchProviderInterceptor( _rxInterceptor ); } -void SAL_CALL OButtonControl::releaseDispatchProviderInterceptor( const Reference< XDispatchProviderInterceptor >& _rxInterceptor ) throw (RuntimeException, std::exception) +void SAL_CALL OButtonControl::releaseDispatchProviderInterceptor( const Reference< XDispatchProviderInterceptor >& _rxInterceptor ) { OClickableImageBaseControl::releaseDispatchProviderInterceptor( _rxInterceptor ); OFormNavigationHelper::releaseDispatchProviderInterceptor( _rxInterceptor ); |