summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbamenuitem.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /sc/source/ui/vba/vbamenuitem.cxx
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'sc/source/ui/vba/vbamenuitem.cxx')
-rw-r--r--sc/source/ui/vba/vbamenuitem.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/vba/vbamenuitem.cxx b/sc/source/ui/vba/vbamenuitem.cxx
index f70eb5e1707f..b05e8982540d 100644
--- a/sc/source/ui/vba/vbamenuitem.cxx
+++ b/sc/source/ui/vba/vbamenuitem.cxx
@@ -16,31 +16,31 @@ ScVbaMenuItem::ScVbaMenuItem( const uno::Reference< ov::XHelperInterface > xPare
}
OUString SAL_CALL
-ScVbaMenuItem::getCaption() throw ( uno::RuntimeException )
+ScVbaMenuItem::getCaption() throw ( uno::RuntimeException, std::exception )
{
return m_xCommandBarControl->getCaption();
}
void SAL_CALL
-ScVbaMenuItem::setCaption( const OUString& _caption ) throw (uno::RuntimeException)
+ScVbaMenuItem::setCaption( const OUString& _caption ) throw (uno::RuntimeException, std::exception)
{
m_xCommandBarControl->setCaption( _caption );
}
OUString SAL_CALL
-ScVbaMenuItem::getOnAction() throw ( uno::RuntimeException )
+ScVbaMenuItem::getOnAction() throw ( uno::RuntimeException, std::exception )
{
return m_xCommandBarControl->getOnAction();
}
void SAL_CALL
-ScVbaMenuItem::setOnAction( const OUString& _onaction ) throw (uno::RuntimeException)
+ScVbaMenuItem::setOnAction( const OUString& _onaction ) throw (uno::RuntimeException, std::exception)
{
m_xCommandBarControl->setOnAction( _onaction );
}
void SAL_CALL
-ScVbaMenuItem::Delete( ) throw (script::BasicErrorException, uno::RuntimeException)
+ScVbaMenuItem::Delete( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception)
{
m_xCommandBarControl->Delete();
}