From b44ba1ace8908f413a62f693232c05921d44acd9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 13 Feb 2014 12:48:16 +0000 Subject: coverity#707460 Uncaught exception Change-Id: I8157893addbf805a18deac5034098dfda125a631 --- vbahelper/source/msforms/vbacontrols.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vbahelper/source/msforms/vbacontrols.cxx b/vbahelper/source/msforms/vbacontrols.cxx index 2aa3daf86ccf..038d4fadc1e5 100644 --- a/vbahelper/source/msforms/vbacontrols.cxx +++ b/vbahelper/source/msforms/vbacontrols.cxx @@ -26,6 +26,7 @@ #include #include #include +#include #include "vbacontrols.hxx" #include "vbacontrol.hxx" @@ -433,7 +434,7 @@ uno::Any SAL_CALL ScVbaControls::Add( const uno::Any& Object, const uno::Any& St } catch (const uno::Exception& e) { - throw lang::WrappedTargetException( "Can not create AXControl!", + throw lang::WrappedTargetRuntimeException( "Can not create AXControl!", uno::Reference< uno::XInterface >(), uno::makeAny( e ) ); } -- cgit v1.2.3