summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svx/fmdpage.hxx2
-rw-r--r--include/svx/unopage.hxx2
-rw-r--r--svx/source/form/fmdpage.cxx2
-rw-r--r--svx/source/unodraw/unopage.cxx2
4 files changed, 4 insertions, 4 deletions
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 )
diff --git a/svx/source/form/fmdpage.cxx b/svx/source/form/fmdpage.cxx
index a7245b18226b..214728978aac 100644
--- a/svx/source/form/fmdpage.cxx
+++ b/svx/source/form/fmdpage.cxx
@@ -83,7 +83,7 @@ SdrObject *SvxFmDrawPage::_CreateSdrObject( const ::com::sun::star::uno::Referen
}
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > SvxFmDrawPage::_CreateShape( SdrObject *pObj ) const
- throw (std::exception)
+ throw (css::uno::RuntimeException, std::exception)
{
if( FmFormInventor == pObj->GetObjInventor() )
{
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index e6baa06ea074..0ede8d07190d 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -838,7 +838,7 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt3
}
Reference< drawing::XShape > SvxDrawPage::_CreateShape( SdrObject *pObj ) const
- throw (std::exception)
+ throw (css::uno::RuntimeException, std::exception)
{
Reference< drawing::XShape > xShape( CreateShapeByTypeAndInventor(pObj->GetObjIdentifier(),
pObj->GetObjInventor(),