diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 13:45:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 20:19:11 +0100 |
commit | 0eb160ef1316f99b5d6e894bfe8938f7b0927f66 (patch) | |
tree | 488e908f353c65bcf2b0b59807d047df259e53ff /basctl | |
parent | coverity#736992 Uncaught exception (diff) | |
download | core-0eb160ef1316f99b5d6e894bfe8938f7b0927f66.tar.gz core-0eb160ef1316f99b5d6e894bfe8938f7b0927f66.zip |
coverity#736993 Uncaught exception
Change-Id: Ib8e5d13da0e26f67da16edf0eb55341208ec2337
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/dlged/dlgedobj.cxx | 2 | ||||
-rw-r--r-- | basctl/source/inc/dlgedobj.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx index 48522b7741dd..fab4e7ff06c9 100644 --- a/basctl/source/dlged/dlgedobj.cxx +++ b/basctl/source/dlged/dlgedobj.cxx @@ -450,7 +450,7 @@ void DlgEdObj::PositionAndSizeChange( const beans::PropertyChangeEvent& evt ) SetRectFromProps(); } -void SAL_CALL DlgEdObj::NameChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw( ::com::sun::star::uno::RuntimeException) +void SAL_CALL DlgEdObj::NameChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw (css::container::NoSuchElementException, css::uno::RuntimeException) { // get old name OUString aOldName; diff --git a/basctl/source/inc/dlgedobj.hxx b/basctl/source/inc/dlgedobj.hxx index e36058436676..525a5518f271 100644 --- a/basctl/source/inc/dlgedobj.hxx +++ b/basctl/source/inc/dlgedobj.hxx @@ -117,7 +117,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > GetControl() const; virtual void PositionAndSizeChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ); - virtual void SAL_CALL NameChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw( ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL NameChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw(css::container::NoSuchElementException, css::uno::RuntimeException); virtual void SAL_CALL TabIndexChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw( ::com::sun::star::uno::RuntimeException); // PropertyChangeListener |