summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-17 09:28:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-17 15:19:45 +0100
commitdbfd932e089014e1581016badad15ff124271316 (patch)
tree72c72241a62c6e5feb8b5487b83c0c52fad050e2 /svtools
parentfabbdc70ad7800ba80826edc3c380bf472718a6e (diff)
coverity#1247633 Uncaught exception
Change-Id: I4058089f45b39ddacc56ccf2259ce6e939abe4ee
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/graphicunofactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/graphic/graphicunofactory.cxx b/svtools/source/graphic/graphicunofactory.cxx
index fe3ed7b7060c..8240b5574e6e 100644
--- a/svtools/source/graphic/graphicunofactory.cxx
+++ b/svtools/source/graphic/graphicunofactory.cxx
@@ -39,7 +39,7 @@ class GObjectImpl : public GObjectAccess_BASE
::osl::Mutex m_aMutex;
std::unique_ptr< GraphicObject > mpGObject;
public:
- GObjectImpl(uno::Sequence< uno::Any > const & args) throw (uno::RuntimeException);
+ GObjectImpl(uno::Sequence< uno::Any > const & args) throw (uno::RuntimeException, std::exception);
// XGraphicObject
virtual uno::Reference< graphic::XGraphic > SAL_CALL getGraphic() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -68,7 +68,7 @@ public:
}
};
-GObjectImpl::GObjectImpl(const uno::Sequence< uno::Any >& args) throw (uno::RuntimeException)
+GObjectImpl::GObjectImpl(const uno::Sequence< uno::Any >& args) throw (uno::RuntimeException, std::exception)
{
if ( args.getLength() == 1 )
{