diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /vbahelper/source/msforms/vbascrollbar.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'vbahelper/source/msforms/vbascrollbar.cxx')
-rw-r--r-- | vbahelper/source/msforms/vbascrollbar.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/vbahelper/source/msforms/vbascrollbar.cxx b/vbahelper/source/msforms/vbascrollbar.cxx index 94def0f3e7f3..43d7a3a83a48 100644 --- a/vbahelper/source/msforms/vbascrollbar.cxx +++ b/vbahelper/source/msforms/vbascrollbar.cxx @@ -35,19 +35,19 @@ ScVbaScrollBar::ScVbaScrollBar( const css::uno::Reference< ov::XHelperInterface // Attributes uno::Any SAL_CALL -ScVbaScrollBar::getValue() throw (css::uno::RuntimeException) +ScVbaScrollBar::getValue() throw (css::uno::RuntimeException, std::exception) { return m_xProps->getPropertyValue( SCROLLVALUE ); } void SAL_CALL -ScVbaScrollBar::setValue( const uno::Any& _value ) throw (::com::sun::star::uno::RuntimeException) +ScVbaScrollBar::setValue( const uno::Any& _value ) throw (::com::sun::star::uno::RuntimeException, std::exception) { m_xProps->setPropertyValue( SCROLLVALUE, _value ); } ::sal_Int32 SAL_CALL -ScVbaScrollBar::getMax() throw (uno::RuntimeException) +ScVbaScrollBar::getMax() throw (uno::RuntimeException, std::exception) { sal_Int32 nMax = 0; m_xProps->getPropertyValue( SCROLLMAX ) >>= nMax; @@ -55,13 +55,13 @@ ScVbaScrollBar::getMax() throw (uno::RuntimeException) } void SAL_CALL -ScVbaScrollBar::setMax( sal_Int32 nVal ) throw (uno::RuntimeException) +ScVbaScrollBar::setMax( sal_Int32 nVal ) throw (uno::RuntimeException, std::exception) { m_xProps->setPropertyValue( SCROLLMAX, uno::makeAny( nVal ) ); } ::sal_Int32 SAL_CALL -ScVbaScrollBar::getMin() throw (uno::RuntimeException) +ScVbaScrollBar::getMin() throw (uno::RuntimeException, std::exception) { sal_Int32 nVal = 0; m_xProps->getPropertyValue( SCROLLMIN ) >>= nVal; @@ -69,19 +69,19 @@ ScVbaScrollBar::getMin() throw (uno::RuntimeException) } void SAL_CALL -ScVbaScrollBar::setMin( sal_Int32 nVal ) throw (uno::RuntimeException) +ScVbaScrollBar::setMin( sal_Int32 nVal ) throw (uno::RuntimeException, std::exception) { m_xProps->setPropertyValue( SCROLLMIN, uno::makeAny( nVal ) ); } void SAL_CALL -ScVbaScrollBar::setLargeChange( ::sal_Int32 _largechange ) throw (uno::RuntimeException) +ScVbaScrollBar::setLargeChange( ::sal_Int32 _largechange ) throw (uno::RuntimeException, std::exception) { m_xProps->setPropertyValue( LARGECHANGE, uno::makeAny( _largechange ) ); } ::sal_Int32 SAL_CALL -ScVbaScrollBar::getLargeChange() throw (uno::RuntimeException) +ScVbaScrollBar::getLargeChange() throw (uno::RuntimeException, std::exception) { sal_Int32 nVal = 0; m_xProps->getPropertyValue( LARGECHANGE ) >>= nVal; @@ -89,7 +89,7 @@ ScVbaScrollBar::getLargeChange() throw (uno::RuntimeException) } ::sal_Int32 SAL_CALL -ScVbaScrollBar::getSmallChange() throw (uno::RuntimeException) +ScVbaScrollBar::getSmallChange() throw (uno::RuntimeException, std::exception) { sal_Int32 nSmallChange = 0; m_xProps->getPropertyValue( SMALLCHANGE ) >>= nSmallChange; @@ -97,7 +97,7 @@ ScVbaScrollBar::getSmallChange() throw (uno::RuntimeException) } void SAL_CALL -ScVbaScrollBar::setSmallChange( ::sal_Int32 _smallchange ) throw (uno::RuntimeException) +ScVbaScrollBar::setSmallChange( ::sal_Int32 _smallchange ) throw (uno::RuntimeException, std::exception) { m_xProps->setPropertyValue( SMALLCHANGE, uno::makeAny( _smallchange ) ); } |