From ef955b0c5e1264f5ce1262156125002279918b7b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 10 Jun 2014 09:32:26 +0100 Subject: coverity#707245 Uncaught exception Change-Id: I9579078a845cd25e25b863e08de94aec1687d596 --- include/svx/fmdpage.hxx | 2 +- include/svx/unopage.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/svx/fmdpage.hxx b/include/svx/fmdpage.hxx index e564570a6426..8717f2ff2fa1 100644 --- a/include/svx/fmdpage.hxx +++ b/include/svx/fmdpage.hxx @@ -40,7 +40,7 @@ protected: // The following method is called when a SvxShape object should be created. // Derived classes can create a derivation or an object aggregating SvxShape. virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > _CreateShape( SdrObject *pObj ) const - throw (std::exception) SAL_OVERRIDE; + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; public: SvxFmDrawPage( SdrPage* pPage ); diff --git a/include/svx/unopage.hxx b/include/svx/unopage.hxx index 8dc123b2e294..beba5e1c275f 100644 --- a/include/svx/unopage.hxx +++ b/include/svx/unopage.hxx @@ -101,7 +101,7 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper6< ::com::sun: // The following method is called if a SvxShape object is to be created. // Derived classes can create a derivation or an SvxShape aggregating object. virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > _CreateShape( SdrObject *pObj ) const - throw (std::exception); + throw (css::uno::RuntimeException, std::exception); UNO3_GETIMPLEMENTATION_DECL( SvxDrawPage ) -- cgit