diff options
Diffstat (limited to 'vbahelper/source/msforms/vbabutton.cxx')
-rw-r--r-- | vbahelper/source/msforms/vbabutton.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/vbahelper/source/msforms/vbabutton.cxx b/vbahelper/source/msforms/vbabutton.cxx index 78c11302267e..9eeb943407ef 100644 --- a/vbahelper/source/msforms/vbabutton.cxx +++ b/vbahelper/source/msforms/vbabutton.cxx @@ -31,7 +31,7 @@ VbaButton::VbaButton( const uno::Reference< XHelperInterface >& xParent, const u // Attributes OUString SAL_CALL -VbaButton::getCaption() throw (css::uno::RuntimeException) +VbaButton::getCaption() throw (css::uno::RuntimeException, std::exception) { OUString Label; m_xProps->getPropertyValue( LABEL ) >>= Label; @@ -39,58 +39,58 @@ VbaButton::getCaption() throw (css::uno::RuntimeException) } void SAL_CALL -VbaButton::setCaption( const OUString& _caption ) throw (::com::sun::star::uno::RuntimeException) +VbaButton::setCaption( const OUString& _caption ) throw (::com::sun::star::uno::RuntimeException, std::exception) { m_xProps->setPropertyValue( LABEL, uno::makeAny( _caption ) ); } -sal_Bool SAL_CALL VbaButton::getAutoSize() throw (uno::RuntimeException) +sal_Bool SAL_CALL VbaButton::getAutoSize() throw (uno::RuntimeException, std::exception) { return ScVbaControl::getAutoSize(); } -void SAL_CALL VbaButton::setAutoSize( sal_Bool bAutoSize ) throw (uno::RuntimeException) +void SAL_CALL VbaButton::setAutoSize( sal_Bool bAutoSize ) throw (uno::RuntimeException, std::exception) { ScVbaControl::setAutoSize( bAutoSize ); } -sal_Bool SAL_CALL VbaButton::getLocked() throw (uno::RuntimeException) +sal_Bool SAL_CALL VbaButton::getLocked() throw (uno::RuntimeException, std::exception) { return ScVbaControl::getLocked(); } -void SAL_CALL VbaButton::setLocked( sal_Bool bLocked ) throw (uno::RuntimeException) +void SAL_CALL VbaButton::setLocked( sal_Bool bLocked ) throw (uno::RuntimeException, std::exception) { ScVbaControl::setLocked( bLocked ); } -sal_Bool SAL_CALL VbaButton::getCancel() throw (uno::RuntimeException) +sal_Bool SAL_CALL VbaButton::getCancel() throw (uno::RuntimeException, std::exception) { return sal_False; } -void SAL_CALL VbaButton::setCancel( sal_Bool /*bCancel*/ ) throw (uno::RuntimeException) +void SAL_CALL VbaButton::setCancel( sal_Bool /*bCancel*/ ) throw (uno::RuntimeException, std::exception) { // #STUB } -sal_Bool SAL_CALL VbaButton::getDefault() throw (uno::RuntimeException) +sal_Bool SAL_CALL VbaButton::getDefault() throw (uno::RuntimeException, std::exception) { // #STUB return sal_False; } -void SAL_CALL VbaButton::setDefault( sal_Bool /*bDefault*/ ) throw (uno::RuntimeException) +void SAL_CALL VbaButton::setDefault( sal_Bool /*bDefault*/ ) throw (uno::RuntimeException, std::exception) { // #STUB } -sal_Int32 SAL_CALL VbaButton::getBackColor() throw (uno::RuntimeException) +sal_Int32 SAL_CALL VbaButton::getBackColor() throw (uno::RuntimeException, std::exception) { return ScVbaControl::getBackColor(); } -void SAL_CALL VbaButton::setBackColor( sal_Int32 nBackColor ) throw (uno::RuntimeException) +void SAL_CALL VbaButton::setBackColor( sal_Int32 nBackColor ) throw (uno::RuntimeException, std::exception) { ScVbaControl::setBackColor( nBackColor ); } @@ -105,7 +105,7 @@ void SAL_CALL VbaButton::setForeColor( sal_Int32 /*nForeColor*/ ) throw (uno::Ru // #STUB } -uno::Reference< msforms::XNewFont > SAL_CALL VbaButton::getFont() throw (uno::RuntimeException) +uno::Reference< msforms::XNewFont > SAL_CALL VbaButton::getFont() throw (uno::RuntimeException, std::exception) { return new VbaNewFont( this, mxContext, m_xProps ); } |