summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-25 13:45:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-25 20:19:11 +0100
commit0eb160ef1316f99b5d6e894bfe8938f7b0927f66 (patch)
tree488e908f353c65bcf2b0b59807d047df259e53ff /basctl
parent7f49f4227bc5ebc211f91fca1f430774775d44c1 (diff)
coverity#736993 Uncaught exception
Change-Id: Ib8e5d13da0e26f67da16edf0eb55341208ec2337
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlgedobj.cxx2
-rw-r--r--basctl/source/inc/dlgedobj.hxx2
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