diff options
Diffstat (limited to 'framework/source/uielement/buttontoolbarcontroller.cxx')
-rw-r--r-- | framework/source/uielement/buttontoolbarcontroller.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/framework/source/uielement/buttontoolbarcontroller.cxx b/framework/source/uielement/buttontoolbarcontroller.cxx index 09a70da6b292..d09fb90d693a 100644 --- a/framework/source/uielement/buttontoolbarcontroller.cxx +++ b/framework/source/uielement/buttontoolbarcontroller.cxx @@ -73,7 +73,7 @@ ButtonToolbarController::~ButtonToolbarController() // XInterface uno::Any SAL_CALL ButtonToolbarController::queryInterface( const uno::Type& rType ) -throw (::com::sun::star::uno::RuntimeException) +throw (::com::sun::star::uno::RuntimeException, std::exception) { Any a = ::cppu::queryInterface( rType , @@ -102,7 +102,7 @@ void SAL_CALL ButtonToolbarController::release() throw () // XInitialization void SAL_CALL ButtonToolbarController::initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) -throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException) +throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) { bool bInitialized( true ); @@ -140,7 +140,7 @@ throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException } // XComponent -void SAL_CALL ButtonToolbarController::dispose() throw (::com::sun::star::uno::RuntimeException) +void SAL_CALL ButtonToolbarController::dispose() throw (::com::sun::star::uno::RuntimeException, std::exception) { Reference< XComponent > xThis( static_cast< OWeakObject* >(this), UNO_QUERY ); @@ -159,21 +159,21 @@ void SAL_CALL ButtonToolbarController::dispose() throw (::com::sun::star::uno::R void SAL_CALL ButtonToolbarController::addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& ) -throw (::com::sun::star::uno::RuntimeException) +throw (::com::sun::star::uno::RuntimeException, std::exception) { // do nothing } void SAL_CALL ButtonToolbarController::removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& ) -throw (::com::sun::star::uno::RuntimeException) +throw (::com::sun::star::uno::RuntimeException, std::exception) { // do nothing } // XUpdatable void SAL_CALL ButtonToolbarController::update() -throw (::com::sun::star::uno::RuntimeException) +throw (::com::sun::star::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarMutexGuard; if ( m_bDisposed ) @@ -183,7 +183,7 @@ throw (::com::sun::star::uno::RuntimeException) // XEventListener void SAL_CALL ButtonToolbarController::disposing( const com::sun::star::lang::EventObject& Source ) -throw ( ::com::sun::star::uno::RuntimeException ) +throw ( ::com::sun::star::uno::RuntimeException, std::exception ) { uno::Reference< uno::XInterface > xSource( Source.Source ); @@ -198,7 +198,7 @@ throw ( ::com::sun::star::uno::RuntimeException ) } void SAL_CALL ButtonToolbarController::statusChanged( const ::com::sun::star::frame::FeatureStateEvent& ) -throw ( ::com::sun::star::uno::RuntimeException ) +throw ( ::com::sun::star::uno::RuntimeException, std::exception ) { // do nothing if ( m_bDisposed ) @@ -207,7 +207,7 @@ throw ( ::com::sun::star::uno::RuntimeException ) // XToolbarController void SAL_CALL ButtonToolbarController::execute( sal_Int16 KeyModifier ) -throw (::com::sun::star::uno::RuntimeException) +throw (::com::sun::star::uno::RuntimeException, std::exception) { uno::Reference< frame::XDispatch > xDispatch; uno::Reference< frame::XFrame > xFrame; @@ -264,7 +264,7 @@ throw (::com::sun::star::uno::RuntimeException) } void SAL_CALL ButtonToolbarController::click() -throw (::com::sun::star::uno::RuntimeException) +throw (::com::sun::star::uno::RuntimeException, std::exception) { SolarMutexGuard aSolarMutexGuard; @@ -276,7 +276,7 @@ throw (::com::sun::star::uno::RuntimeException) } void SAL_CALL ButtonToolbarController::doubleClick() -throw (::com::sun::star::uno::RuntimeException) +throw (::com::sun::star::uno::RuntimeException, std::exception) { // do nothing if ( m_bDisposed ) @@ -284,7 +284,7 @@ throw (::com::sun::star::uno::RuntimeException) } uno::Reference< awt::XWindow > SAL_CALL ButtonToolbarController::createPopupWindow() -throw (::com::sun::star::uno::RuntimeException) +throw (::com::sun::star::uno::RuntimeException, std::exception) { if ( m_bDisposed ) throw DisposedException(); @@ -294,7 +294,7 @@ throw (::com::sun::star::uno::RuntimeException) uno::Reference< awt::XWindow > SAL_CALL ButtonToolbarController::createItemWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& ) -throw (::com::sun::star::uno::RuntimeException) +throw (::com::sun::star::uno::RuntimeException, std::exception) { if ( m_bDisposed ) throw DisposedException(); |