summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-11 13:26:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-11 14:33:38 +0000
commit1491cea2c73ad328ddc0b192e85748ce0c545477 (patch)
treede7371af36a686dc34418f5a15ac4450b228320c /canvas
parent4fd069c41a43e3e0398e9dd44908c157db67c713 (diff)
coverity#1103731 Uncaught exception
Change-Id: Ia56720a1dbc209b048cb9285266e8d897b37cf29
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/opengl/ogl_spritecanvas.cxx3
-rw-r--r--canvas/source/opengl/ogl_spritecanvas.hxx4
2 files changed, 5 insertions, 2 deletions
diff --git a/canvas/source/opengl/ogl_spritecanvas.cxx b/canvas/source/opengl/ogl_spritecanvas.cxx
index ad02eb1d8faa..93371a2df0d5 100644
--- a/canvas/source/opengl/ogl_spritecanvas.cxx
+++ b/canvas/source/opengl/ogl_spritecanvas.cxx
@@ -144,7 +144,8 @@ namespace oglcanvas
return uno::Reference< rendering::XSprite >();
}
- sal_Bool SAL_CALL SpriteCanvas::updateScreen( sal_Bool bUpdateAll ) throw (uno::RuntimeException)
+ sal_Bool SAL_CALL SpriteCanvas::updateScreen(sal_Bool bUpdateAll)
+ throw (uno::RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
return maDeviceHelper.showBuffer(mbIsVisible, bUpdateAll);
diff --git a/canvas/source/opengl/ogl_spritecanvas.hxx b/canvas/source/opengl/ogl_spritecanvas.hxx
index f4bc534883e8..32260b4f61c8 100644
--- a/canvas/source/opengl/ogl_spritecanvas.hxx
+++ b/canvas/source/opengl/ogl_spritecanvas.hxx
@@ -93,7 +93,9 @@ namespace oglcanvas
virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XAnimatedSprite > SAL_CALL createSpriteFromBitmaps( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmap > >& animationBitmaps, ::sal_Int8 interpolationMode ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::rendering::VolatileContentDestroyedException, ::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XCustomSprite > SAL_CALL createCustomSprite( const ::com::sun::star::geometry::RealSize2D& spriteSize ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XSprite > SAL_CALL createClonedSprite( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XSprite >& original ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
- virtual ::sal_Bool SAL_CALL updateScreen( ::sal_Bool bUpdateAll ) throw (::com::sun::star::uno::RuntimeException);
+ virtual ::sal_Bool SAL_CALL updateScreen( ::sal_Bool bUpdateAll )
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
// XServiceName
virtual ::rtl::OUString SAL_CALL getServiceName( ) throw (::com::sun::star::uno::RuntimeException);