diff options
Diffstat (limited to 'sdext/source/presenter/PresenterSlideShowView.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterSlideShowView.cxx | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/sdext/source/presenter/PresenterSlideShowView.cxx b/sdext/source/presenter/PresenterSlideShowView.cxx index a230cb82381a..2a2b9909d125 100644 --- a/sdext/source/presenter/PresenterSlideShowView.cxx +++ b/sdext/source/presenter/PresenterSlideShowView.cxx @@ -255,7 +255,7 @@ void PresenterSlideShowView::disposing (void) void SAL_CALL PresenterSlideShowView::setCurrentPage ( const css::uno::Reference<css::drawing::XDrawPage>& rxSlide) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { mxCurrentSlide = rxSlide; if (mpPresenterController.get() != NULL @@ -297,7 +297,7 @@ void SAL_CALL PresenterSlideShowView::setCurrentPage ( } css::uno::Reference<css::drawing::XDrawPage> SAL_CALL PresenterSlideShowView::getCurrentPage (void) - throw (css::uno::RuntimeException) + throw (css::uno::RuntimeException, std::exception) { return mxCurrentSlide; } @@ -316,7 +316,7 @@ void PresenterSlideShowView::ReleaseView (void) //----- XSlideShowView -------------------------------------------------------- Reference<rendering::XSpriteCanvas> SAL_CALL PresenterSlideShowView::getCanvas (void) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); @@ -324,7 +324,7 @@ Reference<rendering::XSpriteCanvas> SAL_CALL PresenterSlideShowView::getCanvas ( } void SAL_CALL PresenterSlideShowView::clear (void) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); mbIsForcedPaintPending = false; @@ -352,7 +352,7 @@ void SAL_CALL PresenterSlideShowView::clear (void) } geometry::AffineMatrix2D SAL_CALL PresenterSlideShowView::getTransformation (void) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); @@ -379,7 +379,7 @@ geometry::AffineMatrix2D SAL_CALL PresenterSlideShowView::getTransformation (voi } geometry::IntegerSize2D SAL_CALL PresenterSlideShowView::getTranslationOffset(void) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); return geometry::IntegerSize2D(0,0); @@ -387,7 +387,7 @@ geometry::IntegerSize2D SAL_CALL PresenterSlideShowView::getTranslationOffset(vo void SAL_CALL PresenterSlideShowView::addTransformationChangedListener( const Reference<util::XModifyListener>& rxListener) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); maBroadcaster.addListener( @@ -397,7 +397,7 @@ void SAL_CALL PresenterSlideShowView::addTransformationChangedListener( void SAL_CALL PresenterSlideShowView::removeTransformationChangedListener( const Reference<util::XModifyListener>& rxListener) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); maBroadcaster.removeListener( @@ -407,7 +407,7 @@ void SAL_CALL PresenterSlideShowView::removeTransformationChangedListener( void SAL_CALL PresenterSlideShowView::addPaintListener( const Reference<awt::XPaintListener>& rxListener) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); maBroadcaster.addListener( @@ -417,7 +417,7 @@ void SAL_CALL PresenterSlideShowView::addPaintListener( void SAL_CALL PresenterSlideShowView::removePaintListener( const Reference<awt::XPaintListener>& rxListener) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); maBroadcaster.removeListener( @@ -427,7 +427,7 @@ void SAL_CALL PresenterSlideShowView::removePaintListener( void SAL_CALL PresenterSlideShowView::addMouseListener( const Reference<awt::XMouseListener>& rxListener) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); maBroadcaster.addListener( @@ -437,7 +437,7 @@ void SAL_CALL PresenterSlideShowView::addMouseListener( void SAL_CALL PresenterSlideShowView::removeMouseListener( const Reference<awt::XMouseListener>& rxListener) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); maBroadcaster.removeListener( @@ -447,7 +447,7 @@ void SAL_CALL PresenterSlideShowView::removeMouseListener( void SAL_CALL PresenterSlideShowView::addMouseMotionListener( const Reference<awt::XMouseMotionListener>& rxListener) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); maBroadcaster.addListener( @@ -457,7 +457,7 @@ void SAL_CALL PresenterSlideShowView::addMouseMotionListener( void SAL_CALL PresenterSlideShowView::removeMouseMotionListener( const Reference<awt::XMouseMotionListener>& rxListener) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); maBroadcaster.removeListener( @@ -466,7 +466,7 @@ void SAL_CALL PresenterSlideShowView::removeMouseMotionListener( } void SAL_CALL PresenterSlideShowView::setMouseCursor(::sal_Int16 nPointerShape) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ThrowIfDisposed(); @@ -486,7 +486,7 @@ void SAL_CALL PresenterSlideShowView::setMouseCursor(::sal_Int16 nPointerShape) } } -awt::Rectangle SAL_CALL PresenterSlideShowView::getCanvasArea( ) throw (RuntimeException) +awt::Rectangle SAL_CALL PresenterSlideShowView::getCanvasArea( ) throw (RuntimeException, std::exception) { if( mxViewWindow.is() && mxTopPane.is() ) return mxPresenterHelper->getWindowExtentsRelative( mxViewWindow, mxTopPane->getWindow() ); @@ -501,7 +501,7 @@ awt::Rectangle SAL_CALL PresenterSlideShowView::getCanvasArea( ) throw (Runtime //----- lang::XEventListener -------------------------------------------------- void SAL_CALL PresenterSlideShowView::disposing (const lang::EventObject& rEvent) - throw (RuntimeException) + throw (RuntimeException, std::exception) { if (rEvent.Source == mxViewWindow) mxViewWindow = NULL; @@ -512,7 +512,7 @@ void SAL_CALL PresenterSlideShowView::disposing (const lang::EventObject& rEvent //----- XPaintListener -------------------------------------------------------- void SAL_CALL PresenterSlideShowView::windowPaint (const awt::PaintEvent& rEvent) - throw (RuntimeException) + throw (RuntimeException, std::exception) { // Deactivated views must not be painted. if ( ! mbIsPresenterViewActive) @@ -533,7 +533,7 @@ void SAL_CALL PresenterSlideShowView::windowPaint (const awt::PaintEvent& rEvent //----- XMouseListener -------------------------------------------------------- void SAL_CALL PresenterSlideShowView::mousePressed (const awt::MouseEvent& rEvent) - throw (RuntimeException) + throw (RuntimeException, std::exception) { awt::MouseEvent aEvent (rEvent); aEvent.Source = static_cast<XWeak*>(this); @@ -553,7 +553,7 @@ void SAL_CALL PresenterSlideShowView::mousePressed (const awt::MouseEvent& rEven } void SAL_CALL PresenterSlideShowView::mouseReleased (const awt::MouseEvent& rEvent) - throw (RuntimeException) + throw (RuntimeException, std::exception) { awt::MouseEvent aEvent (rEvent); aEvent.Source = static_cast<XWeak*>(this); @@ -566,7 +566,7 @@ void SAL_CALL PresenterSlideShowView::mouseReleased (const awt::MouseEvent& rEve } void SAL_CALL PresenterSlideShowView::mouseEntered (const awt::MouseEvent& rEvent) - throw (RuntimeException) + throw (RuntimeException, std::exception) { awt::MouseEvent aEvent (rEvent); aEvent.Source = static_cast<XWeak*>(this); @@ -579,7 +579,7 @@ void SAL_CALL PresenterSlideShowView::mouseEntered (const awt::MouseEvent& rEven } void SAL_CALL PresenterSlideShowView::mouseExited (const awt::MouseEvent& rEvent) - throw (RuntimeException) + throw (RuntimeException, std::exception) { awt::MouseEvent aEvent (rEvent); aEvent.Source = static_cast<XWeak*>(this); @@ -594,7 +594,7 @@ void SAL_CALL PresenterSlideShowView::mouseExited (const awt::MouseEvent& rEvent //----- XMouseMotionListener -------------------------------------------------- void SAL_CALL PresenterSlideShowView::mouseDragged (const awt::MouseEvent& rEvent) - throw (RuntimeException) + throw (RuntimeException, std::exception) { awt::MouseEvent aEvent (rEvent); aEvent.Source = static_cast<XWeak*>(this); @@ -607,7 +607,7 @@ void SAL_CALL PresenterSlideShowView::mouseDragged (const awt::MouseEvent& rEven } void SAL_CALL PresenterSlideShowView::mouseMoved (const awt::MouseEvent& rEvent) - throw (RuntimeException) + throw (RuntimeException, std::exception) { awt::MouseEvent aEvent (rEvent); aEvent.Source = static_cast<XWeak*>(this); @@ -622,7 +622,7 @@ void SAL_CALL PresenterSlideShowView::mouseMoved (const awt::MouseEvent& rEvent) //----- XWindowListener ------------------------------------------------------- void SAL_CALL PresenterSlideShowView::windowResized (const awt::WindowEvent& rEvent) - throw (RuntimeException) + throw (RuntimeException, std::exception) { (void)rEvent; @@ -633,7 +633,7 @@ void SAL_CALL PresenterSlideShowView::windowResized (const awt::WindowEvent& rEv } void SAL_CALL PresenterSlideShowView::windowMoved (const awt::WindowEvent& rEvent) - throw (RuntimeException) + throw (RuntimeException, std::exception) { (void)rEvent; if ( ! mbIsPaintPending) @@ -641,14 +641,14 @@ void SAL_CALL PresenterSlideShowView::windowMoved (const awt::WindowEvent& rEven } void SAL_CALL PresenterSlideShowView::windowShown (const lang::EventObject& rEvent) - throw (RuntimeException) + throw (RuntimeException, std::exception) { (void)rEvent; Resize(); } void SAL_CALL PresenterSlideShowView::windowHidden (const lang::EventObject& rEvent) - throw (RuntimeException) + throw (RuntimeException, std::exception) { (void)rEvent; } @@ -656,13 +656,13 @@ void SAL_CALL PresenterSlideShowView::windowHidden (const lang::EventObject& rEv //----- XView ----------------------------------------------------------------- Reference<XResourceId> SAL_CALL PresenterSlideShowView::getResourceId (void) - throw(RuntimeException) + throw(RuntimeException, std::exception) { return mxViewId; } sal_Bool SAL_CALL PresenterSlideShowView::isAnchorOnly (void) - throw (RuntimeException) + throw (RuntimeException, std::exception) { return false; } |