summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-22 21:03:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-23 08:54:37 +0100
commit787d41c26d80b01b63c4f65003891f46116bbc29 (patch)
treef6f91613dbd4bba037fd1c63c326ebb416b6ebef /reportdesign
parent93dd12a160f2d64c06921d413f092494e52f283a (diff)
coverity#1215313 Uncaught exception
Change-Id: I22cd98a35c6c638e3476d54b742762d8a2dfa7fa
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/inc/SectionWindow.hxx3
-rw-r--r--reportdesign/source/ui/report/SectionWindow.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/reportdesign/source/ui/inc/SectionWindow.hxx b/reportdesign/source/ui/inc/SectionWindow.hxx
index 14f1a6bf72d4..0fd8c2cb44b0 100644
--- a/reportdesign/source/ui/inc/SectionWindow.hxx
+++ b/reportdesign/source/ui/inc/SectionWindow.hxx
@@ -91,7 +91,8 @@ namespace rptui
virtual void Resize() SAL_OVERRIDE;
protected:
- virtual void _propertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& _rEvent) throw( ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
+ virtual void _propertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& _rEvent)
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
public:
OSectionWindow( OViewsWindow* _pParent
,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection >& _xSection
diff --git a/reportdesign/source/ui/report/SectionWindow.cxx b/reportdesign/source/ui/report/SectionWindow.cxx
index c0b6c53ce9c8..2fd6bdd88b34 100644
--- a/reportdesign/source/ui/report/SectionWindow.cxx
+++ b/reportdesign/source/ui/report/SectionWindow.cxx
@@ -112,7 +112,8 @@ OSectionWindow::~OSectionWindow()
}
}
-void OSectionWindow::_propertyChanged(const beans::PropertyChangeEvent& _rEvent) throw( uno::RuntimeException)
+void OSectionWindow::_propertyChanged(const beans::PropertyChangeEvent& _rEvent)
+ throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
const uno::Reference< report::XSection > xSection(_rEvent.Source,uno::UNO_QUERY);