coverity#736993 Uncaught exception

Change-Id: Ib8e5d13da0e26f67da16edf0eb55341208ec2337
This commit is contained in:
Caolán McNamara
2014-04-25 13:45:49 +01:00
parent 7f49f4227b
commit 0eb160ef13
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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