summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-24 11:48:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-24 17:16:36 +0100
commit833067c8701bb2b8210ad58bf540e13373300988 (patch)
tree9fa3714883c2cc3d6e752eb54b39e662a9676ad2 /vbahelper
parent76e998d7ddaf70ded9a4da4d9988884afb74b1e5 (diff)
coverity#707469 Uncaught exception
Change-Id: I93bb55b339dcc6a177d7403760703a895cebc805
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbahelper.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx
index c22f1f108bfc..c24bec40208a 100644
--- a/vbahelper/source/vbahelper/vbahelper.cxx
+++ b/vbahelper/source/vbahelper/vbahelper.cxx
@@ -1004,7 +1004,9 @@ void ConcreteXShapeGeometryAttributes::setWidth( double nWidth)
}
-ShapeHelper::ShapeHelper( const css::uno::Reference< css::drawing::XShape >& _xShape) throw (css::script::BasicErrorException ) : xShape( _xShape )
+ShapeHelper::ShapeHelper( const css::uno::Reference< css::drawing::XShape >& _xShape)
+ throw (css::script::BasicErrorException, css::uno::RuntimeException)
+ : xShape( _xShape )
{
if( !xShape.is() )
throw css::uno::RuntimeException( "No valid shape for helper" , css::uno::Reference< css::uno::XInterface >() );