diff options
Diffstat (limited to 'canvas/source/opengl/ogl_canvascustomsprite.cxx')
-rw-r--r-- | canvas/source/opengl/ogl_canvascustomsprite.cxx | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/canvas/source/opengl/ogl_canvascustomsprite.cxx b/canvas/source/opengl/ogl_canvascustomsprite.cxx index 6b23d4504740..d16659896fc4 100644 --- a/canvas/source/opengl/ogl_canvascustomsprite.cxx +++ b/canvas/source/opengl/ogl_canvascustomsprite.cxx @@ -58,8 +58,7 @@ namespace oglcanvas CanvasCustomSpriteBaseT::disposeThis(); } - void SAL_CALL CanvasCustomSprite::setAlpha( double alpha ) throw (lang::IllegalArgumentException, - uno::RuntimeException, std::exception) + void SAL_CALL CanvasCustomSprite::setAlpha( double alpha ) { canvas::tools::verifyRange( alpha, 0.0, 1.0 ); @@ -69,8 +68,7 @@ namespace oglcanvas void SAL_CALL CanvasCustomSprite::move( const geometry::RealPoint2D& aNewPos, const rendering::ViewState& viewState, - const rendering::RenderState& renderState ) throw (lang::IllegalArgumentException, - uno::RuntimeException, std::exception) + const rendering::RenderState& renderState ) { canvas::tools::verifyArgs(aNewPos, viewState, renderState, OSL_THIS_FUNC, @@ -87,39 +85,38 @@ namespace oglcanvas maPosition *= aTransform; } - void SAL_CALL CanvasCustomSprite::transform( const geometry::AffineMatrix2D& aTransformation ) throw (lang::IllegalArgumentException, - uno::RuntimeException, std::exception) + void SAL_CALL CanvasCustomSprite::transform( const geometry::AffineMatrix2D& aTransformation ) { ::osl::MutexGuard aGuard( m_aMutex ); maTransformation = aTransformation; } - void SAL_CALL CanvasCustomSprite::clip( const uno::Reference< rendering::XPolyPolygon2D >& xClip ) throw (uno::RuntimeException, std::exception) + void SAL_CALL CanvasCustomSprite::clip( const uno::Reference< rendering::XPolyPolygon2D >& xClip ) { mxClip = xClip; } - void SAL_CALL CanvasCustomSprite::setPriority( double nPriority ) throw (uno::RuntimeException, std::exception) + void SAL_CALL CanvasCustomSprite::setPriority( double nPriority ) { ::osl::MutexGuard aGuard( m_aMutex ); mfPriority = nPriority; } - void SAL_CALL CanvasCustomSprite::show() throw (uno::RuntimeException, std::exception) + void SAL_CALL CanvasCustomSprite::show() { ::osl::MutexGuard aGuard( m_aMutex ); if( mpSpriteCanvas.is() ) mpSpriteCanvas->show(this); } - void SAL_CALL CanvasCustomSprite::hide() throw (uno::RuntimeException, std::exception) + void SAL_CALL CanvasCustomSprite::hide() { ::osl::MutexGuard aGuard( m_aMutex ); if( mpSpriteCanvas.is() ) mpSpriteCanvas->hide(this); } - uno::Reference< rendering::XCanvas > SAL_CALL CanvasCustomSprite::getContentCanvas() throw (uno::RuntimeException, std::exception) + uno::Reference< rendering::XCanvas > SAL_CALL CanvasCustomSprite::getContentCanvas() { return this; } |