summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-28 13:08:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-28 13:49:51 +0100
commitabe5aaa7269ff0c2105346ac44d05342d5be3be7 (patch)
treea3d4c60d1d131767dceccf6063fb704f2347b6c2 /reportdesign
parentddaaeec1b16544d588244461cce3a27e4027c604 (diff)
coverity#706505 Uncaught exception
Change-Id: Ia00361fb1d86223a7ed65f0be295b291183e3ad6
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/inc/ReportDrawPage.hxx3
-rw-r--r--reportdesign/source/core/sdr/ReportDrawPage.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/reportdesign/source/core/inc/ReportDrawPage.hxx b/reportdesign/source/core/inc/ReportDrawPage.hxx
index 11c25e94b5b0..98270cf0edf6 100644
--- a/reportdesign/source/core/inc/ReportDrawPage.hxx
+++ b/reportdesign/source/core/inc/ReportDrawPage.hxx
@@ -31,7 +31,8 @@ namespace reportdesign
OReportDrawPage(const OReportDrawPage&);
void operator =(const OReportDrawPage&);
protected:
- virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & xShape )throw (std::exception) SAL_OVERRIDE;
+ 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;
public:
OReportDrawPage(SdrPage* pPage,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection >& _xSection);
diff --git a/reportdesign/source/core/sdr/ReportDrawPage.cxx b/reportdesign/source/core/sdr/ReportDrawPage.cxx
index ecedb9fcacee..a96d18b2ddf9 100644
--- a/reportdesign/source/core/sdr/ReportDrawPage.cxx
+++ b/reportdesign/source/core/sdr/ReportDrawPage.cxx
@@ -46,7 +46,8 @@ OReportDrawPage::OReportDrawPage(SdrPage* _pPage
{
}
-SdrObject* OReportDrawPage::_CreateSdrObject( const uno::Reference< drawing::XShape > & xDescr ) throw (std::exception)
+SdrObject* OReportDrawPage::_CreateSdrObject(const uno::Reference< drawing::XShape > & xDescr)
+ throw (uno::RuntimeException, std::exception)
{
uno::Reference< report::XReportComponent> xReportComponent(xDescr,uno::UNO_QUERY);
if ( xReportComponent.is() )