diff options
-rw-r--r-- | reportdesign/source/core/inc/ReportDrawPage.hxx | 2 | ||||
-rw-r--r-- | reportdesign/source/core/sdr/ReportDrawPage.cxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/reportdesign/source/core/inc/ReportDrawPage.hxx b/reportdesign/source/core/inc/ReportDrawPage.hxx index 98270cf0edf6..844d00c8d8bc 100644 --- a/reportdesign/source/core/inc/ReportDrawPage.hxx +++ b/reportdesign/source/core/inc/ReportDrawPage.hxx @@ -33,7 +33,7 @@ namespace reportdesign protected: virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & xShape ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > _CreateShape( SdrObject *pObj ) const throw (std::exception) SAL_OVERRIDE; + virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > _CreateShape( SdrObject *pObj ) const throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; public: OReportDrawPage(SdrPage* pPage,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection >& _xSection); virtual ~OReportDrawPage() throw(){} diff --git a/reportdesign/source/core/sdr/ReportDrawPage.cxx b/reportdesign/source/core/sdr/ReportDrawPage.cxx index a96d18b2ddf9..0c7867febe25 100644 --- a/reportdesign/source/core/sdr/ReportDrawPage.cxx +++ b/reportdesign/source/core/sdr/ReportDrawPage.cxx @@ -55,7 +55,8 @@ SdrObject* OReportDrawPage::_CreateSdrObject(const uno::Reference< drawing::XSha return SvxDrawPage::_CreateSdrObject( xDescr ); } -uno::Reference< drawing::XShape > OReportDrawPage::_CreateShape( SdrObject *pObj ) const throw (std::exception) +uno::Reference< drawing::XShape > OReportDrawPage::_CreateShape( SdrObject *pObj ) const + throw (uno::RuntimeException, std::exception) { OObjectBase* pBaseObj = dynamic_cast<OObjectBase*>(pObj); if ( !pBaseObj ) |