diff options
Diffstat (limited to 'UnoControls/source/controls/statusindicator.cxx')
-rw-r--r-- | UnoControls/source/controls/statusindicator.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx index 91d1b286d76f..e90b21a67bb9 100644 --- a/UnoControls/source/controls/statusindicator.cxx +++ b/UnoControls/source/controls/statusindicator.cxx @@ -73,7 +73,7 @@ StatusIndicator::~StatusIndicator() {} // XInterface -Any SAL_CALL StatusIndicator::queryInterface( const Type& rType ) throw( RuntimeException ) +Any SAL_CALL StatusIndicator::queryInterface( const Type& rType ) throw( RuntimeException, std::exception ) { // Attention: // Don't use mutex or guard in this method!!! Is a method of XInterface. @@ -124,7 +124,7 @@ void SAL_CALL StatusIndicator::release() throw() // XTypeProvider -Sequence< Type > SAL_CALL StatusIndicator::getTypes() throw( RuntimeException ) +Sequence< Type > SAL_CALL StatusIndicator::getTypes() throw( RuntimeException, std::exception ) { // Optimize this method ! // We initialize a static variable only one time. And we don't must use a mutex at every call! @@ -156,7 +156,7 @@ Sequence< Type > SAL_CALL StatusIndicator::getTypes() throw( RuntimeException ) // XAggregation -Any SAL_CALL StatusIndicator::queryAggregation( const Type& aType ) throw( RuntimeException ) +Any SAL_CALL StatusIndicator::queryAggregation( const Type& aType ) throw( RuntimeException, std::exception ) { // Ask for my own supported interfaces ... // Attention: XTypeProvider and XInterface are supported by OComponentHelper! @@ -180,7 +180,7 @@ Any SAL_CALL StatusIndicator::queryAggregation( const Type& aType ) throw( Runti // XStatusIndicator -void SAL_CALL StatusIndicator::start( const OUString& sText, sal_Int32 nRange ) throw( RuntimeException ) +void SAL_CALL StatusIndicator::start( const OUString& sText, sal_Int32 nRange ) throw( RuntimeException, std::exception ) { // Ready for multithreading MutexGuard aGuard( m_aMutex ); @@ -196,7 +196,7 @@ void SAL_CALL StatusIndicator::start( const OUString& sText, sal_Int32 nRange ) // XStatusIndicator -void SAL_CALL StatusIndicator::end() throw( RuntimeException ) +void SAL_CALL StatusIndicator::end() throw( RuntimeException, std::exception ) { // Ready for multithreading MutexGuard aGuard( m_aMutex ); @@ -211,7 +211,7 @@ void SAL_CALL StatusIndicator::end() throw( RuntimeException ) // XStatusIndicator -void SAL_CALL StatusIndicator::setText( const OUString& sText ) throw( RuntimeException ) +void SAL_CALL StatusIndicator::setText( const OUString& sText ) throw( RuntimeException, std::exception ) { // Ready for multithreading MutexGuard aGuard( m_aMutex ); @@ -224,7 +224,7 @@ void SAL_CALL StatusIndicator::setText( const OUString& sText ) throw( RuntimeEx // XStatusIndicator -void SAL_CALL StatusIndicator::setValue( sal_Int32 nValue ) throw( RuntimeException ) +void SAL_CALL StatusIndicator::setValue( sal_Int32 nValue ) throw( RuntimeException, std::exception ) { // Ready for multithreading MutexGuard aGuard( m_aMutex ); @@ -237,7 +237,7 @@ void SAL_CALL StatusIndicator::setValue( sal_Int32 nValue ) throw( RuntimeExcept // XStatusIndicator -void SAL_CALL StatusIndicator::reset() throw( RuntimeException ) +void SAL_CALL StatusIndicator::reset() throw( RuntimeException, std::exception ) { // Ready for multithreading MutexGuard aGuard( m_aMutex ); @@ -252,7 +252,7 @@ void SAL_CALL StatusIndicator::reset() throw( RuntimeException ) // XLayoutConstrains -Size SAL_CALL StatusIndicator::getMinimumSize () throw( RuntimeException ) +Size SAL_CALL StatusIndicator::getMinimumSize () throw( RuntimeException, std::exception ) { return Size (STATUSINDICATOR_DEFAULT_WIDTH, STATUSINDICATOR_DEFAULT_HEIGHT) ; } @@ -261,7 +261,7 @@ Size SAL_CALL StatusIndicator::getMinimumSize () throw( RuntimeException ) // XLayoutConstrains -Size SAL_CALL StatusIndicator::getPreferredSize () throw( RuntimeException ) +Size SAL_CALL StatusIndicator::getPreferredSize () throw( RuntimeException, std::exception ) { // Ready for multithreading ClearableMutexGuard aGuard ( m_aMutex ) ; @@ -294,7 +294,7 @@ Size SAL_CALL StatusIndicator::getPreferredSize () throw( RuntimeException ) // XLayoutConstrains -Size SAL_CALL StatusIndicator::calcAdjustedSize ( const Size& /*rNewSize*/ ) throw( RuntimeException ) +Size SAL_CALL StatusIndicator::calcAdjustedSize ( const Size& /*rNewSize*/ ) throw( RuntimeException, std::exception ) { return getPreferredSize () ; } @@ -306,7 +306,7 @@ Size SAL_CALL StatusIndicator::calcAdjustedSize ( const Size& /*rNewSize*/ ) thr void SAL_CALL StatusIndicator::createPeer ( const css::uno::Reference< XToolkit > & rToolkit, const css::uno::Reference< XWindowPeer > & rParent -) throw( RuntimeException ) +) throw( RuntimeException, std::exception ) { if( !getPeer().is() ) { @@ -324,7 +324,7 @@ void SAL_CALL StatusIndicator::createPeer ( // XControl -sal_Bool SAL_CALL StatusIndicator::setModel ( const css::uno::Reference< XControlModel > & /*rModel*/ ) throw( RuntimeException ) +sal_Bool SAL_CALL StatusIndicator::setModel ( const css::uno::Reference< XControlModel > & /*rModel*/ ) throw( RuntimeException, std::exception ) { // We have no model. return sal_False ; @@ -334,7 +334,7 @@ sal_Bool SAL_CALL StatusIndicator::setModel ( const css::uno::Reference< XContro // XControl -css::uno::Reference< XControlModel > SAL_CALL StatusIndicator::getModel () throw( RuntimeException ) +css::uno::Reference< XControlModel > SAL_CALL StatusIndicator::getModel () throw( RuntimeException, std::exception ) { // We have no model. // return (XControlModel*)this ; @@ -345,7 +345,7 @@ css::uno::Reference< XControlModel > SAL_CALL StatusIndicator::getModel () throw // XComponent -void SAL_CALL StatusIndicator::dispose () throw( RuntimeException ) +void SAL_CALL StatusIndicator::dispose () throw( RuntimeException, std::exception ) { // Ready for multithreading MutexGuard aGuard ( m_aMutex ) ; @@ -373,7 +373,7 @@ void SAL_CALL StatusIndicator::setPosSize ( sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nFlags -) throw( RuntimeException ) +) throw( RuntimeException, std::exception ) { Rectangle aBasePosSize = getPosSize () ; BaseContainerControl::setPosSize (nX, nY, nWidth, nHeight, nFlags) ; |