diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-24 15:52:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-24 16:11:02 +0100 |
commit | a5219c79027bce36880270ddbe3a058fa042265e (patch) | |
tree | 99405f02d81b3294943f4ea5992f63b2b64c1b06 | |
parent | 64da31ab884ff4a2ceaccfa4adfb2eb62fccdaf6 (diff) |
coverity#707241 Uncaught exception
Change-Id: Ia82b685a892c376dbdf5a5b7a8e559bf318b9134
-rw-r--r-- | include/svx/unopage.hxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/unopage.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/unopage.hxx b/include/svx/unopage.hxx index b78e655a270a..62961d4329e5 100644 --- a/include/svx/unopage.hxx +++ b/include/svx/unopage.hxx @@ -94,7 +94,7 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper6< ::com::sun: // Creating a SdrObject using it's Description. // Can be used by derived classes to support their owen Shapes (e.g. Controls). virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape ) - throw (css::uno::Exception, std::exception); + throw (css::uno::RuntimeException, std::exception); static SvxShape* CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt32 nInventor, SdrObject *pObj = NULL, SvxDrawPage *pPage = NULL, OUString const & referer = OUString() ) throw(); diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index 9ce4356cfed1..21e57365cc0a 100644 --- a/svx/source/unodraw/unopage.cxx +++ b/svx/source/unodraw/unopage.cxx @@ -474,7 +474,7 @@ void SAL_CALL SvxDrawPage::ungroup( const Reference< drawing::XShapeGroup >& aGr } SdrObject *SvxDrawPage::_CreateSdrObject(const Reference< drawing::XShape > & xShape) - throw (css::uno::Exception, std::exception) + throw (css::uno::RuntimeException, std::exception) { sal_uInt16 nType = 0; sal_uInt32 nInventor = 0; |