From 0e507ae031768deceab236a41d1bbe9fb5123cea Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 5 Jun 2014 08:16:59 +0200 Subject: various: remove SAL_THROW macro Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494 --- unotools/source/accessibility/accessiblestatesethelper.cxx | 4 ++-- unotools/source/ucbhelper/xtempfile.cxx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'unotools') 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 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) ); } -- cgit