summaryrefslogtreecommitdiff
path: root/comphelper/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 15:27:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 17:03:04 +0000
commit7cc3e9ca0c52f28ea4a57d0f5fb3ae6ae8332954 (patch)
tree863f087a92f2b8c4081f0b7d9a93131655757c6f /comphelper/source
parent166af05c63598426c375544b5e1e01818aa13747 (diff)
coverity#706277 Uncaught exception
Change-Id: I1941e0a3a662faaac1fb9374437f3984b3a5c6d8
Diffstat (limited to 'comphelper/source')
-rw-r--r--comphelper/source/misc/servicedecl.cxx8
1 files 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<uno::XInterface> SAL_CALL createInstanceWithContext(
uno::Reference<uno::XComponentContext> const& xContext )
- throw (uno::Exception);
+ throw (uno::Exception, std::exception);
virtual uno::Reference<uno::XInterface> SAL_CALL
createInstanceWithArgumentsAndContext(
uno::Sequence<uno::Any> const& args,
uno::Reference<uno::XComponentContext> const& xContext )
- throw (uno::Exception);
+ throw (uno::Exception, std::exception);
private:
virtual ~Factory();
@@ -90,7 +90,7 @@ uno::Sequence<OUString> ServiceDecl::Factory::getSupportedServiceNames()
// XSingleComponentFactory:
uno::Reference<uno::XInterface> ServiceDecl::Factory::createInstanceWithContext(
uno::Reference<uno::XComponentContext> const& xContext )
- throw (uno::Exception)
+ throw (uno::Exception, std::exception)
{
return m_rServiceDecl.m_createFunc(
m_rServiceDecl, uno::Sequence<uno::Any>(), xContext );
@@ -100,7 +100,7 @@ uno::Reference<uno::XInterface>
ServiceDecl::Factory::createInstanceWithArgumentsAndContext(
uno::Sequence<uno::Any > const& args,
uno::Reference<uno::XComponentContext> const& xContext )
- throw (uno::Exception)
+ throw (uno::Exception, std::exception)
{
return m_rServiceDecl.m_createFunc(
m_rServiceDecl, args, xContext );