diff options
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/accessibility/accessiblestatesethelper.cxx | 4 | ||||
-rw-r--r-- | unotools/source/ucbhelper/xtempfile.cxx | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/unotools/source/accessibility/accessiblestatesethelper.cxx b/unotools/source/accessibility/accessiblestatesethelper.cxx index f37f93f19f83..70efa7617d28 100644 --- a/unotools/source/accessibility/accessiblestatesethelper.cxx +++ b/unotools/source/accessibility/accessiblestatesethelper.cxx @@ -48,7 +48,7 @@ public: void RemoveState(sal_Int16 aState) throw (uno::RuntimeException); - inline void AddStates( const sal_Int64 _nStates ) SAL_THROW( ( ) ); + inline void AddStates( const sal_Int64 _nStates ); private: sal_uInt64 maStates; @@ -100,7 +100,7 @@ inline uno::Sequence<sal_Int16> AccessibleStateSetHelperImpl::GetStates() const return aRet; } -inline void AccessibleStateSetHelperImpl::AddStates( const sal_Int64 _nStates ) SAL_THROW( ( ) ) +inline void AccessibleStateSetHelperImpl::AddStates( const sal_Int64 _nStates ) { maStates |= _nStates; } diff --git a/unotools/source/ucbhelper/xtempfile.cxx b/unotools/source/ucbhelper/xtempfile.cxx index 9c197cdf59d1..20c9cc6fc3ba 100644 --- a/unotools/source/ucbhelper/xtempfile.cxx +++ b/unotools/source/ucbhelper/xtempfile.cxx @@ -444,7 +444,6 @@ css::uno::Sequence < OUString > OTempFileService::getSupportedServiceNames_Stati } css::uno::Reference < css::uno::XInterface >SAL_CALL XTempFile_createInstance( css::uno::Reference< css::uno::XComponentContext > const & context) - SAL_THROW( ( css::uno::Exception ) ) { return static_cast< ::cppu::OWeakObject * >( new OTempFileService(context) ); } |