diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-31 12:33:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-31 12:33:37 +0100 |
commit | efe49ba4fc9a28da628f492609954ea678f17472 (patch) | |
tree | e0777e7d2c2eee042c479a7e1da051110be3562e /canvas | |
parent | a2336d20a5c9562f0c8af21c552aa49c177944b7 (diff) |
coverity#1233512 Uncaught exception
Change-Id: Idc1e1e905282ff44581b26ea1557c70641abe8b8
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/opengl/ogl_spritecanvas.cxx | 2 | ||||
-rw-r--r-- | canvas/source/opengl/ogl_spritecanvas.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/opengl/ogl_spritecanvas.cxx b/canvas/source/opengl/ogl_spritecanvas.cxx index c965b9f5e571..a7e255fa8dda 100644 --- a/canvas/source/opengl/ogl_spritecanvas.cxx +++ b/canvas/source/opengl/ogl_spritecanvas.cxx @@ -100,7 +100,7 @@ namespace oglcanvas return !mbIsVisible ? false : SpriteCanvasBaseT::showBuffer( bUpdateAll ); } - sal_Bool SAL_CALL SpriteCanvas::switchBuffer( sal_Bool bUpdateAll ) throw (uno::RuntimeException) + sal_Bool SAL_CALL SpriteCanvas::switchBuffer( sal_Bool bUpdateAll ) throw (uno::RuntimeException, std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); diff --git a/canvas/source/opengl/ogl_spritecanvas.hxx b/canvas/source/opengl/ogl_spritecanvas.hxx index d65979bc98f0..6d4995b2e517 100644 --- a/canvas/source/opengl/ogl_spritecanvas.hxx +++ b/canvas/source/opengl/ogl_spritecanvas.hxx @@ -86,7 +86,7 @@ namespace oglcanvas // XBufferController (partial) virtual sal_Bool SAL_CALL showBuffer( sal_Bool bUpdateAll ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual sal_Bool SAL_CALL switchBuffer( sal_Bool bUpdateAll ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL switchBuffer( sal_Bool bUpdateAll ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XSpriteCanvas virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XAnimatedSprite > SAL_CALL createSpriteFromAnimation( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XAnimation >& animation ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; |