Kaydet (Commit) 787d41c2 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1215313 Uncaught exception

Change-Id: I22cd98a35c6c638e3476d54b742762d8a2dfa7fa
üst 93dd12a1
...@@ -51,7 +51,8 @@ namespace comphelper ...@@ -51,7 +51,8 @@ namespace comphelper
: m_pAdapter(NULL), m_rMutex(_rMutex) { } : m_pAdapter(NULL), m_rMutex(_rMutex) { }
virtual ~OPropertyChangeListener(); virtual ~OPropertyChangeListener();
virtual void _propertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& _rEvent) throw( ::com::sun::star::uno::RuntimeException) = 0; virtual void _propertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& _rEvent)
throw (css::uno::RuntimeException, std::exception) = 0;
virtual void _disposing(const ::com::sun::star::lang::EventObject& _rSource) virtual void _disposing(const ::com::sun::star::lang::EventObject& _rSource)
throw( ::com::sun::star::uno::RuntimeException, std::exception); throw( ::com::sun::star::uno::RuntimeException, std::exception);
......
...@@ -91,7 +91,8 @@ namespace rptui ...@@ -91,7 +91,8 @@ namespace rptui
virtual void Resize() SAL_OVERRIDE; virtual void Resize() SAL_OVERRIDE;
protected: 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: public:
OSectionWindow( OViewsWindow* _pParent OSectionWindow( OViewsWindow* _pParent
,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection >& _xSection ,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection >& _xSection
......
...@@ -112,7 +112,8 @@ OSectionWindow::~OSectionWindow() ...@@ -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; SolarMutexGuard g;
const uno::Reference< report::XSection > xSection(_rEvent.Source,uno::UNO_QUERY); const uno::Reference< report::XSection > xSection(_rEvent.Source,uno::UNO_QUERY);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment