diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-24 10:56:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-24 11:09:59 +0100 |
commit | cc44da64b109ec9b1fe9393a19ac18c57d9e3217 (patch) | |
tree | 72ba1c51625402dc354497e193fcb7ecec880306 /vbahelper | |
parent | 371046c6a35931e96506ecaf4ffbc0403286c53b (diff) |
coverity#707479 Uncaught exception
Change-Id: I4a1c43dab2814ed66f1785b91ead76407e32de46
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbashape.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbashape.cxx b/vbahelper/source/vbahelper/vbashape.cxx index 9f7a3cd4e2d3..d97b61e7929f 100644 --- a/vbahelper/source/vbahelper/vbashape.cxx +++ b/vbahelper/source/vbahelper/vbashape.cxx @@ -47,7 +47,9 @@ using namespace ::ooo::vba; using namespace ::com::sun::star; -ScVbaShape::ScVbaShape( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< drawing::XShape >& xShape, const uno::Reference< drawing::XShapes >& xShapes, const uno::Reference< frame::XModel >& xModel, sal_Int32 nType ) throw( lang::IllegalArgumentException ) : ScVbaShape_BASE( xParent, xContext ), m_xShape( xShape ), m_xShapes( xShapes ), m_nType( nType ), m_xModel( xModel ) +ScVbaShape::ScVbaShape( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< drawing::XShape >& xShape, const uno::Reference< drawing::XShapes >& xShapes, const uno::Reference< frame::XModel >& xModel, sal_Int32 nType ) + throw (lang::IllegalArgumentException, uno::RuntimeException) + : ScVbaShape_BASE( xParent, xContext ), m_xShape( xShape ), m_xShapes( xShapes ), m_nType( nType ), m_xModel( xModel ) { m_xPropertySet.set( m_xShape, uno::UNO_QUERY_THROW ); m_pShapeHelper.reset( new ShapeHelper( m_xShape ) ); |