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 /chart2/source/controller/main/ChartController_Window.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'chart2/source/controller/main/ChartController_Window.cxx')
-rw-r--r-- | chart2/source/controller/main/ChartController_Window.cxx | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index 9b75609a020d..d0fda11ad522 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -231,7 +231,7 @@ void SAL_CALL ChartController::setPosSize( sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -282,7 +282,7 @@ void SAL_CALL ChartController::setPosSize( } awt::Rectangle SAL_CALL ChartController::getPosSize() - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo awt::Rectangle aRet(0, 0, 0, 0); @@ -295,7 +295,7 @@ awt::Rectangle SAL_CALL ChartController::getPosSize() } void SAL_CALL ChartController::setVisible( sal_Bool Visible ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -305,7 +305,7 @@ void SAL_CALL ChartController::setVisible( sal_Bool Visible ) } void SAL_CALL ChartController::setEnable( sal_Bool Enable ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -315,7 +315,7 @@ void SAL_CALL ChartController::setEnable( sal_Bool Enable ) } void SAL_CALL ChartController::setFocus() - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -326,7 +326,7 @@ void SAL_CALL ChartController::setFocus() void SAL_CALL ChartController::addWindowListener( const uno::Reference< awt::XWindowListener >& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -337,7 +337,7 @@ void SAL_CALL ChartController::addWindowListener( void SAL_CALL ChartController::removeWindowListener( const uno::Reference< awt::XWindowListener >& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -348,7 +348,7 @@ void SAL_CALL ChartController::removeWindowListener( void SAL_CALL ChartController::addFocusListener( const uno::Reference< awt::XFocusListener >& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -359,7 +359,7 @@ void SAL_CALL ChartController::addFocusListener( void SAL_CALL ChartController::removeFocusListener( const uno::Reference< awt::XFocusListener >& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -370,7 +370,7 @@ void SAL_CALL ChartController::removeFocusListener( void SAL_CALL ChartController::addKeyListener( const uno::Reference< awt::XKeyListener >& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -381,7 +381,7 @@ void SAL_CALL ChartController::addKeyListener( void SAL_CALL ChartController::removeKeyListener( const uno::Reference< awt::XKeyListener >& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -392,7 +392,7 @@ void SAL_CALL ChartController::removeKeyListener( void SAL_CALL ChartController::addMouseListener( const uno::Reference< awt::XMouseListener >& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -403,7 +403,7 @@ void SAL_CALL ChartController::addMouseListener( void SAL_CALL ChartController::removeMouseListener( const uno::Reference< awt::XMouseListener >& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -414,7 +414,7 @@ void SAL_CALL ChartController::removeMouseListener( void SAL_CALL ChartController::addMouseMotionListener( const uno::Reference< awt::XMouseMotionListener >& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -425,7 +425,7 @@ void SAL_CALL ChartController::addMouseMotionListener( void SAL_CALL ChartController::removeMouseMotionListener( const uno::Reference< awt::XMouseMotionListener >& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -436,7 +436,7 @@ void SAL_CALL ChartController::removeMouseMotionListener( void SAL_CALL ChartController::addPaintListener( const uno::Reference< awt::XPaintListener >& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -447,7 +447,7 @@ void SAL_CALL ChartController::addPaintListener( void SAL_CALL ChartController::removePaintListener( const uno::Reference< awt::XPaintListener >& xListener ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { //@todo uno::Reference<awt::XWindow> xWindow = m_xViewWindow; @@ -1594,7 +1594,7 @@ bool ChartController::requestQuickHelp( // XSelectionSupplier (optional interface) sal_Bool SAL_CALL ChartController ::select( const uno::Any& rSelection ) - throw( lang::IllegalArgumentException ) + throw( lang::IllegalArgumentException, std::exception ) { bool bSuccess = false; @@ -1646,7 +1646,7 @@ bool ChartController::requestQuickHelp( } uno::Any SAL_CALL ChartController -::getSelection() throw(uno::RuntimeException) +::getSelection() throw(uno::RuntimeException, std::exception) { uno::Any aReturn; if ( m_aSelection.hasSelection() ) @@ -1668,7 +1668,7 @@ bool ChartController::requestQuickHelp( void SAL_CALL ChartController ::addSelectionChangeListener( const uno::Reference< view::XSelectionChangeListener > & xListener ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if( impl_isDisposedOrSuspended() )//@todo? allow adding of listeners in suspend mode? @@ -1681,7 +1681,7 @@ bool ChartController::requestQuickHelp( void SAL_CALL ChartController ::removeSelectionChangeListener( const uno::Reference< view::XSelectionChangeListener > & xListener ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if( impl_isDisposedOrSuspended() ) //@todo? allow removing of listeners in suspend mode? |