From 7cc3e9ca0c52f28ea4a57d0f5fb3ae6ae8332954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 27 Jan 2014 15:27:15 +0000 Subject: [PATCH] coverity#706277 Uncaught exception Change-Id: I1941e0a3a662faaac1fb9374437f3984b3a5c6d8 --- comphelper/source/misc/servicedecl.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/comphelper/source/misc/servicedecl.cxx b/comphelper/source/misc/servicedecl.cxx index d48fd4c41789..18dd1432e9a7 100644 --- a/comphelper/source/misc/servicedecl.cxx +++ b/comphelper/source/misc/servicedecl.cxx @@ -51,12 +51,12 @@ public: // XSingleComponentFactory: virtual uno::Reference SAL_CALL createInstanceWithContext( uno::Reference const& xContext ) - throw (uno::Exception); + throw (uno::Exception, std::exception); virtual uno::Reference SAL_CALL createInstanceWithArgumentsAndContext( uno::Sequence const& args, uno::Reference const& xContext ) - throw (uno::Exception); + throw (uno::Exception, std::exception); private: virtual ~Factory(); @@ -90,7 +90,7 @@ uno::Sequence ServiceDecl::Factory::getSupportedServiceNames() // XSingleComponentFactory: uno::Reference ServiceDecl::Factory::createInstanceWithContext( uno::Reference const& xContext ) - throw (uno::Exception) + throw (uno::Exception, std::exception) { return m_rServiceDecl.m_createFunc( m_rServiceDecl, uno::Sequence(), xContext ); @@ -100,7 +100,7 @@ uno::Reference ServiceDecl::Factory::createInstanceWithArgumentsAndContext( uno::Sequence const& args, uno::Reference const& xContext ) - throw (uno::Exception) + throw (uno::Exception, std::exception) { return m_rServiceDecl.m_createFunc( m_rServiceDecl, args, xContext );