diff options
-rw-r--r-- | include/svx/fmdpage.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unopage.hxx | 2 | ||||
-rw-r--r-- | svx/source/form/fmdpage.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/fmdpage.hxx b/include/svx/fmdpage.hxx index ea78b789f8c8..e564570a6426 100644 --- a/include/svx/fmdpage.hxx +++ b/include/svx/fmdpage.hxx @@ -35,7 +35,7 @@ protected: // Creating a SdrObject based on a Description. Cann be used by derived classes to // support own ::com::sun::star::drawing::Shapes (for example Controls) 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; // The following method is called when a SvxShape object should be created. // Derived classes can create a derivation or an object aggregating SvxShape. 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 diff --git a/svx/source/form/fmdpage.cxx b/svx/source/form/fmdpage.cxx index c0867cc9ed77..a7245b18226b 100644 --- a/svx/source/form/fmdpage.cxx +++ b/svx/source/form/fmdpage.cxx @@ -69,7 +69,7 @@ Any SAL_CALL SvxFmDrawPage::queryAggregation( const ::com::sun::star::uno::Type& } SdrObject *SvxFmDrawPage::_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & xDescr ) - throw (std::exception) + throw (css::uno::RuntimeException, std::exception) { OUString aShapeType( xDescr->getShapeType() ); |