diff options
Diffstat (limited to 'toolkit/source/awt/vclxspinbutton.cxx')
-rw-r--r-- | toolkit/source/awt/vclxspinbutton.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/toolkit/source/awt/vclxspinbutton.cxx b/toolkit/source/awt/vclxspinbutton.cxx index 30e44899f8f6..6c82ebb39ef0 100644 --- a/toolkit/source/awt/vclxspinbutton.cxx +++ b/toolkit/source/awt/vclxspinbutton.cxx @@ -65,7 +65,7 @@ namespace toolkit IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXSpinButton, VCLXWindow, VCLXSpinButton_Base ) - void SAL_CALL VCLXSpinButton::dispose( ) throw(RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::dispose( ) { { SolarMutexGuard aGuard; @@ -79,14 +79,14 @@ namespace toolkit } - void SAL_CALL VCLXSpinButton::addAdjustmentListener( const Reference< XAdjustmentListener >& listener ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::addAdjustmentListener( const Reference< XAdjustmentListener >& listener ) { if ( listener.is() ) maAdjustmentListeners.addInterface( listener ); } - void SAL_CALL VCLXSpinButton::removeAdjustmentListener( const Reference< XAdjustmentListener >& listener ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::removeAdjustmentListener( const Reference< XAdjustmentListener >& listener ) { if ( listener.is() ) maAdjustmentListeners.removeInterface( listener ); @@ -121,13 +121,13 @@ namespace toolkit } - void SAL_CALL VCLXSpinButton::setValue( sal_Int32 n ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setValue( sal_Int32 n ) { lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetValue, n ); } - void SAL_CALL VCLXSpinButton::setValues( sal_Int32 minValue, sal_Int32 maxValue, sal_Int32 currentValue ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setValues( sal_Int32 minValue, sal_Int32 maxValue, sal_Int32 currentValue ) { SolarMutexGuard aGuard; @@ -137,49 +137,49 @@ namespace toolkit } - sal_Int32 SAL_CALL VCLXSpinButton::getValue( ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL VCLXSpinButton::getValue( ) { return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetValue ); } - void SAL_CALL VCLXSpinButton::setMinimum( sal_Int32 minValue ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setMinimum( sal_Int32 minValue ) { lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetRangeMin, minValue ); } - void SAL_CALL VCLXSpinButton::setMaximum( sal_Int32 maxValue ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setMaximum( sal_Int32 maxValue ) { lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetRangeMax, maxValue ); } - sal_Int32 SAL_CALL VCLXSpinButton::getMinimum( ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL VCLXSpinButton::getMinimum( ) { return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetRangeMin ); } - sal_Int32 SAL_CALL VCLXSpinButton::getMaximum( ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL VCLXSpinButton::getMaximum( ) { return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetRangeMax ); } - void SAL_CALL VCLXSpinButton::setSpinIncrement( sal_Int32 spinIncrement ) throw (RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setSpinIncrement( sal_Int32 spinIncrement ) { lcl_setSpinButtonValue( GetWindow(), &SpinButton::SetValueStep, spinIncrement ); } - sal_Int32 SAL_CALL VCLXSpinButton::getSpinIncrement( ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL VCLXSpinButton::getSpinIncrement( ) { return lcl_getSpinButtonValue( GetWindow(), &SpinButton::GetValueStep ); } - void SAL_CALL VCLXSpinButton::setOrientation( sal_Int32 orientation ) throw (NoSupportException, RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setOrientation( sal_Int32 orientation ) { SolarMutexGuard aGuard; @@ -187,7 +187,7 @@ namespace toolkit } - sal_Int32 SAL_CALL VCLXSpinButton::getOrientation( ) throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL VCLXSpinButton::getOrientation( ) { return ( 0 != ( GetWindow()->GetStyle() & WB_HSCROLL ) ) ? ScrollBarOrientation::HORIZONTAL @@ -227,7 +227,7 @@ namespace toolkit } - void SAL_CALL VCLXSpinButton::setProperty( const OUString& PropertyName, const Any& Value ) throw(RuntimeException, std::exception) + void SAL_CALL VCLXSpinButton::setProperty( const OUString& PropertyName, const Any& Value ) { SolarMutexGuard aGuard; @@ -277,7 +277,7 @@ namespace toolkit } - Any SAL_CALL VCLXSpinButton::getProperty( const OUString& PropertyName ) throw(RuntimeException, std::exception) + Any SAL_CALL VCLXSpinButton::getProperty( const OUString& PropertyName ) { SolarMutexGuard aGuard; |