From 94cf2594570576c80287362e83d85c0feec8cc3e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 24 May 2014 15:08:43 +0100 Subject: coverity#983802 Uncaught exception Change-Id: I06be01500a767e600a7f391a3e74a92d05b6d73f --- sd/source/ui/unoidl/unopage.cxx | 2 +- sd/source/ui/unoidl/unopage.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index a4fd2e2a758d..3e788c881980 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -386,7 +386,7 @@ SdXImpressDocument* SdGenericDrawPage::GetModel() const // this is called whenever a SdrObject must be created for a empty api shape wrapper SdrObject * SdGenericDrawPage::_CreateSdrObject( const Reference< drawing::XShape >& xShape ) - throw (std::exception) + throw (css::uno::RuntimeException, std::exception) { if( NULL == SvxFmDrawPage::mpPage || !xShape.is() ) return NULL; diff --git a/sd/source/ui/unoidl/unopage.hxx b/sd/source/ui/unoidl/unopage.hxx index e2712b021e09..b2ea8aab9fa8 100644 --- a/sd/source/ui/unoidl/unopage.hxx +++ b/sd/source/ui/unoidl/unopage.hxx @@ -105,7 +105,7 @@ public: // this is called whenever a SdrObject must be created for a empty api shape wrapper virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape ) - throw (std::exception) SAL_OVERRIDE; + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // SvxFmDrawPage virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > _CreateShape( SdrObject *pObj ) const -- cgit