diff options
Diffstat (limited to 'UnoControls/source/controls/progressbar.cxx')
-rw-r--r-- | UnoControls/source/controls/progressbar.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx index 7fa718d6a064..99ae92d97d98 100644 --- a/UnoControls/source/controls/progressbar.cxx +++ b/UnoControls/source/controls/progressbar.cxx @@ -59,7 +59,7 @@ ProgressBar::~ProgressBar() // XInterface -Any SAL_CALL ProgressBar::queryInterface( const Type& rType ) throw( RuntimeException, std::exception ) +Any SAL_CALL ProgressBar::queryInterface( const Type& rType ) { // Attention: // Don't use mutex or guard in this method!!! Is a method of XInterface. @@ -104,7 +104,7 @@ void SAL_CALL ProgressBar::release() throw() // XTypeProvider -Sequence< Type > SAL_CALL ProgressBar::getTypes() throw( RuntimeException, std::exception ) +Sequence< Type > SAL_CALL ProgressBar::getTypes() { // Optimize this method ! // We initialize a static variable only one time. And we don't must use a mutex at every call! @@ -134,7 +134,7 @@ Sequence< Type > SAL_CALL ProgressBar::getTypes() throw( RuntimeException, std:: // XAggregation -Any SAL_CALL ProgressBar::queryAggregation( const Type& aType ) throw( RuntimeException, std::exception ) +Any SAL_CALL ProgressBar::queryAggregation( const Type& aType ) { // Ask for my own supported interfaces ... // Attention: XTypeProvider and XInterface are supported by OComponentHelper! @@ -156,7 +156,7 @@ Any SAL_CALL ProgressBar::queryAggregation( const Type& aType ) throw( RuntimeEx // XProgressBar -void SAL_CALL ProgressBar::setForegroundColor( sal_Int32 nColor ) throw( RuntimeException, std::exception ) +void SAL_CALL ProgressBar::setForegroundColor( sal_Int32 nColor ) { // Ready for multithreading MutexGuard aGuard (m_aMutex); @@ -170,7 +170,7 @@ void SAL_CALL ProgressBar::setForegroundColor( sal_Int32 nColor ) throw( Runtime // XProgressBar -void SAL_CALL ProgressBar::setBackgroundColor ( sal_Int32 nColor ) throw( RuntimeException, std::exception ) +void SAL_CALL ProgressBar::setBackgroundColor ( sal_Int32 nColor ) { // Ready for multithreading MutexGuard aGuard (m_aMutex); @@ -184,7 +184,7 @@ void SAL_CALL ProgressBar::setBackgroundColor ( sal_Int32 nColor ) throw( Runtim // XProgressBar -void SAL_CALL ProgressBar::setValue ( sal_Int32 nValue ) throw( RuntimeException, std::exception ) +void SAL_CALL ProgressBar::setValue ( sal_Int32 nValue ) { // This method is defined for follow things: // 1) Values >= _nMinRange @@ -213,7 +213,7 @@ void SAL_CALL ProgressBar::setValue ( sal_Int32 nValue ) throw( RuntimeException // XProgressBar -void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw( RuntimeException, std::exception ) +void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax ) { // This method is defined for follow things: // 1) All values of sal_Int32 @@ -255,7 +255,7 @@ void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw( Ru // XProgressBar -sal_Int32 SAL_CALL ProgressBar::getValue () throw( RuntimeException, std::exception ) +sal_Int32 SAL_CALL ProgressBar::getValue () { // Ready for multithreading MutexGuard aGuard (m_aMutex); @@ -271,7 +271,7 @@ void SAL_CALL ProgressBar::setPosSize ( sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nFlags -) throw( RuntimeException, std::exception ) +) { // Take old size BEFORE you set the new values at baseclass! // You will control changes. At the other way, the values are the same! @@ -291,7 +291,7 @@ void SAL_CALL ProgressBar::setPosSize ( // XControl -sal_Bool SAL_CALL ProgressBar::setModel( const Reference< XControlModel >& /*xModel*/ ) throw( RuntimeException, std::exception ) +sal_Bool SAL_CALL ProgressBar::setModel( const Reference< XControlModel >& /*xModel*/ ) { // A model is not possible for this control. return false; @@ -299,7 +299,7 @@ sal_Bool SAL_CALL ProgressBar::setModel( const Reference< XControlModel >& /*xMo // XControl -Reference< XControlModel > SAL_CALL ProgressBar::getModel() throw( RuntimeException, std::exception ) +Reference< XControlModel > SAL_CALL ProgressBar::getModel() { // A model is not possible for this control. return Reference< XControlModel >(); |