diff options
Diffstat (limited to 'sc/source/ui/vba/vbamenuitem.cxx')
-rw-r--r-- | sc/source/ui/vba/vbamenuitem.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/vba/vbamenuitem.cxx b/sc/source/ui/vba/vbamenuitem.cxx index 48321652ca3f..1ef5836cfe91 100644 --- a/sc/source/ui/vba/vbamenuitem.cxx +++ b/sc/source/ui/vba/vbamenuitem.cxx @@ -11,36 +11,36 @@ using namespace com::sun::star; using namespace ooo::vba; -ScVbaMenuItem::ScVbaMenuItem( const uno::Reference< ov::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< XCommandBarControl >& rCommandBarControl ) throw( uno::RuntimeException ) : MenuItem_BASE( rParent, rContext ), m_xCommandBarControl( rCommandBarControl ) +ScVbaMenuItem::ScVbaMenuItem( const uno::Reference< ov::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< XCommandBarControl >& rCommandBarControl ) : MenuItem_BASE( rParent, rContext ), m_xCommandBarControl( rCommandBarControl ) { } OUString SAL_CALL -ScVbaMenuItem::getCaption() throw ( uno::RuntimeException, std::exception ) +ScVbaMenuItem::getCaption() { return m_xCommandBarControl->getCaption(); } void SAL_CALL -ScVbaMenuItem::setCaption( const OUString& _caption ) throw (uno::RuntimeException, std::exception) +ScVbaMenuItem::setCaption( const OUString& _caption ) { m_xCommandBarControl->setCaption( _caption ); } OUString SAL_CALL -ScVbaMenuItem::getOnAction() throw ( uno::RuntimeException, std::exception ) +ScVbaMenuItem::getOnAction() { return m_xCommandBarControl->getOnAction(); } void SAL_CALL -ScVbaMenuItem::setOnAction( const OUString& _onaction ) throw (uno::RuntimeException, std::exception) +ScVbaMenuItem::setOnAction( const OUString& _onaction ) { m_xCommandBarControl->setOnAction( _onaction ); } void SAL_CALL -ScVbaMenuItem::Delete( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaMenuItem::Delete( ) { m_xCommandBarControl->Delete(); } |