diff options
Diffstat (limited to 'svx/source/form/fmvwimp.cxx')
-rw-r--r-- | svx/source/form/fmvwimp.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index bac41bc254fb..35742d528b2f 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -219,23 +219,23 @@ void FormViewPageWindowAdapter::dispose() m_aControllerList.clear(); } -sal_Bool SAL_CALL FormViewPageWindowAdapter::hasElements() throw( RuntimeException, std::exception ) +sal_Bool SAL_CALL FormViewPageWindowAdapter::hasElements() { return getCount() != 0; } -Type SAL_CALL FormViewPageWindowAdapter::getElementType() throw( RuntimeException, std::exception ) +Type SAL_CALL FormViewPageWindowAdapter::getElementType() { return cppu::UnoType<XFormController>::get(); } // XIndexAccess -sal_Int32 SAL_CALL FormViewPageWindowAdapter::getCount() throw( RuntimeException, std::exception ) +sal_Int32 SAL_CALL FormViewPageWindowAdapter::getCount() { return m_aControllerList.size(); } -Any SAL_CALL FormViewPageWindowAdapter::getByIndex(sal_Int32 nIndex) throw( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception ) +Any SAL_CALL FormViewPageWindowAdapter::getByIndex(sal_Int32 nIndex) { if (nIndex < 0 || nIndex >= getCount()) @@ -246,7 +246,7 @@ Any SAL_CALL FormViewPageWindowAdapter::getByIndex(sal_Int32 nIndex) throw( Inde return aElement; } -void SAL_CALL FormViewPageWindowAdapter::makeVisible( const Reference< XControl >& Control ) throw (RuntimeException, std::exception) +void SAL_CALL FormViewPageWindowAdapter::makeVisible( const Reference< XControl >& Control ) { SolarMutexGuard aSolarGuard; @@ -461,7 +461,7 @@ FmXFormView::~FmXFormView() // EventListener -void SAL_CALL FmXFormView::disposing(const EventObject& Source) throw( RuntimeException, std::exception ) +void SAL_CALL FmXFormView::disposing(const EventObject& Source) { if ( m_xWindow.is() && Source.Source == m_xWindow ) { @@ -476,14 +476,14 @@ void SAL_CALL FmXFormView::disposing(const EventObject& Source) throw( RuntimeEx // XFormControllerListener -void SAL_CALL FmXFormView::formActivated(const EventObject& rEvent) throw( RuntimeException, std::exception ) +void SAL_CALL FmXFormView::formActivated(const EventObject& rEvent) { if ( m_pView && m_pView->GetFormShell() && m_pView->GetFormShell()->GetImpl() ) m_pView->GetFormShell()->GetImpl()->formActivated( rEvent ); } -void SAL_CALL FmXFormView::formDeactivated(const EventObject& rEvent) throw( RuntimeException, std::exception ) +void SAL_CALL FmXFormView::formDeactivated(const EventObject& rEvent) { if ( m_pView && m_pView->GetFormShell() && m_pView->GetFormShell()->GetImpl() ) m_pView->GetFormShell()->GetImpl()->formDeactivated( rEvent ); @@ -491,7 +491,7 @@ void SAL_CALL FmXFormView::formDeactivated(const EventObject& rEvent) throw( Run // XContainerListener -void SAL_CALL FmXFormView::elementInserted(const ContainerEvent& evt) throw( RuntimeException, std::exception ) +void SAL_CALL FmXFormView::elementInserted(const ContainerEvent& evt) { try { @@ -519,13 +519,13 @@ void SAL_CALL FmXFormView::elementInserted(const ContainerEvent& evt) throw( Run } -void SAL_CALL FmXFormView::elementReplaced(const ContainerEvent& evt) throw( RuntimeException, std::exception ) +void SAL_CALL FmXFormView::elementReplaced(const ContainerEvent& evt) { elementInserted(evt); } -void SAL_CALL FmXFormView::elementRemoved(const ContainerEvent& /*evt*/) throw( RuntimeException, std::exception ) +void SAL_CALL FmXFormView::elementRemoved(const ContainerEvent& /*evt*/) { } @@ -1903,7 +1903,7 @@ void FmXFormView::restoreMarkList( SdrMarkList& _rRestoredMarkList ) } } -void SAL_CALL FmXFormView::focusGained( const FocusEvent& /*e*/ ) throw (RuntimeException, std::exception) +void SAL_CALL FmXFormView::focusGained( const FocusEvent& /*e*/ ) { if ( m_xWindow.is() && m_pView ) { @@ -1911,7 +1911,7 @@ void SAL_CALL FmXFormView::focusGained( const FocusEvent& /*e*/ ) throw (Runtime } } -void SAL_CALL FmXFormView::focusLost( const FocusEvent& /*e*/ ) throw (RuntimeException, std::exception) +void SAL_CALL FmXFormView::focusLost( const FocusEvent& /*e*/ ) { // when switch the focus outside the office the mark didn't change // so we can not remove us as focus listener |