diff options
-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; |