summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svx/unopage.hxx2
-rw-r--r--svx/source/unodraw/unopage.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/unopage.hxx b/include/svx/unopage.hxx
index 515074c0ef81..b78e655a270a 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 (std::exception);
+ throw (css::uno::Exception, 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 ecca282afbd3..9ce4356cfed1 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 (std::exception)
+ throw (css::uno::Exception, std::exception)
{
sal_uInt16 nType = 0;
sal_uInt32 nInventor = 0;