diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /toolkit/source/controls/stdtabcontroller.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'toolkit/source/controls/stdtabcontroller.cxx')
-rw-r--r-- | toolkit/source/controls/stdtabcontroller.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/toolkit/source/controls/stdtabcontroller.cxx b/toolkit/source/controls/stdtabcontroller.cxx index 07948f485fa8..273d9173f25e 100644 --- a/toolkit/source/controls/stdtabcontroller.cxx +++ b/toolkit/source/controls/stdtabcontroller.cxx @@ -158,7 +158,7 @@ void StdTabController::ImplActivateControl( bool bFirst ) const } // XInterface -Any StdTabController::queryAggregation( const Type & rType ) throw(RuntimeException) +Any StdTabController::queryAggregation( const Type & rType ) throw(RuntimeException, std::exception) { Any aRet = ::cppu::queryInterface( rType, (static_cast< XTabController* >(this)), @@ -173,35 +173,35 @@ IMPL_XTYPEPROVIDER_START( StdTabController ) getCppuType( ( Reference< XServiceInfo>* ) NULL ) IMPL_XTYPEPROVIDER_END -void StdTabController::setModel( const Reference< XTabControllerModel >& Model ) throw(RuntimeException) +void StdTabController::setModel( const Reference< XTabControllerModel >& Model ) throw(RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); mxModel = Model; } -Reference< XTabControllerModel > StdTabController::getModel( ) throw(RuntimeException) +Reference< XTabControllerModel > StdTabController::getModel( ) throw(RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); return mxModel; } -void StdTabController::setContainer( const Reference< XControlContainer >& Container ) throw(RuntimeException) +void StdTabController::setContainer( const Reference< XControlContainer >& Container ) throw(RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); mxControlContainer = Container; } -Reference< XControlContainer > StdTabController::getContainer( ) throw(RuntimeException) +Reference< XControlContainer > StdTabController::getContainer( ) throw(RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); return mxControlContainer; } -Sequence< Reference< XControl > > StdTabController::getControls( ) throw(RuntimeException) +Sequence< Reference< XControl > > StdTabController::getControls( ) throw(RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -227,7 +227,7 @@ Sequence< Reference< XControl > > StdTabController::getControls( ) throw(Runtim return aSeq; } -void StdTabController::autoTabOrder( ) throw(RuntimeException) +void StdTabController::autoTabOrder( ) throw(RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -292,7 +292,7 @@ void StdTabController::autoTabOrder( ) throw(RuntimeException) mxModel->setControlModels( aNewSeq ); } -void StdTabController::activateTabOrder( ) throw(RuntimeException) +void StdTabController::activateTabOrder( ) throw(RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -347,7 +347,7 @@ void StdTabController::activateTabOrder( ) throw(RuntimeException) } } -void StdTabController::activateFirst( ) throw(RuntimeException) +void StdTabController::activateFirst( ) throw(RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); //TODO: necessary? @@ -355,7 +355,7 @@ void StdTabController::activateFirst( ) throw(RuntimeException) ImplActivateControl( true ); } -void StdTabController::activateLast( ) throw(RuntimeException) +void StdTabController::activateLast( ) throw(RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); //TODO: necessary? |