diff options
Diffstat (limited to 'sc/source/ui/vba/vbamenu.cxx')
-rw-r--r-- | sc/source/ui/vba/vbamenu.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/vba/vbamenu.cxx b/sc/source/ui/vba/vbamenu.cxx index f0088b8af289..0e023ac17e0a 100644 --- a/sc/source/ui/vba/vbamenu.cxx +++ b/sc/source/ui/vba/vbamenu.cxx @@ -13,30 +13,30 @@ using namespace com::sun::star; using namespace ooo::vba; -ScVbaMenu::ScVbaMenu( const uno::Reference< ov::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< XCommandBarControl >& rCommandBarControl ) throw( uno::RuntimeException ) : Menu_BASE( rParent, rContext ), m_xCommandBarControl( rCommandBarControl ) +ScVbaMenu::ScVbaMenu( const uno::Reference< ov::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< XCommandBarControl >& rCommandBarControl ) : Menu_BASE( rParent, rContext ), m_xCommandBarControl( rCommandBarControl ) { } OUString SAL_CALL -ScVbaMenu::getCaption() throw ( uno::RuntimeException, std::exception ) +ScVbaMenu::getCaption() { return m_xCommandBarControl->getCaption(); } void SAL_CALL -ScVbaMenu::setCaption( const OUString& _caption ) throw (uno::RuntimeException, std::exception) +ScVbaMenu::setCaption( const OUString& _caption ) { m_xCommandBarControl->setCaption( _caption ); } void SAL_CALL -ScVbaMenu::Delete( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaMenu::Delete( ) { m_xCommandBarControl->Delete(); } uno::Any SAL_CALL -ScVbaMenu::MenuItems( const uno::Any& aIndex ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) +ScVbaMenu::MenuItems( const uno::Any& aIndex ) { uno::Reference< XCommandBarControls > xCommandBarControls( m_xCommandBarControl->Controls( uno::Any() ), uno::UNO_QUERY_THROW ); uno::Reference< excel::XMenuItems > xMenuItems( new ScVbaMenuItems( this, mxContext, xCommandBarControls ) ); |