diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-05 08:10:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-05 08:17:48 +0200 |
commit | e5c20a785c5fafdd4dc9e6ac14ce548d2a527571 (patch) | |
tree | 283acf25267b64d73e896c5a1f7250a3ea89b53e /sal/rtl/bootstrap.cxx | |
parent | b6c67082c04a0e749de669f56208094f372825bc (diff) |
sal/rtl: remove SAL_THROW macro
Change-Id: I70e41f087dbe188f8fc455150480faeae2b426ed
Diffstat (limited to 'sal/rtl/bootstrap.cxx')
-rw-r--r-- | sal/rtl/bootstrap.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx index 86f22c823e8b..c93aa0c5ace9 100644 --- a/sal/rtl/bootstrap.cxx +++ b/sal/rtl/bootstrap.cxx @@ -122,10 +122,10 @@ struct rtl_bootstrap_NameValue OUString sName; OUString sValue; - inline rtl_bootstrap_NameValue() SAL_THROW( () ) + inline rtl_bootstrap_NameValue() {} inline rtl_bootstrap_NameValue( - OUString const & name, OUString const & value ) SAL_THROW( () ) + OUString const & name, OUString const & value ) : sName( name ), sValue( value ) {} @@ -316,9 +316,9 @@ struct Bootstrap_Impl explicit Bootstrap_Impl (OUString const & rIniName); ~Bootstrap_Impl(); - static void * operator new (std::size_t n) SAL_THROW(()) + static void * operator new (std::size_t n) { return rtl_allocateMemory (sal_uInt32(n)); } - static void operator delete (void * p , std::size_t) SAL_THROW(()) + static void operator delete (void * p , std::size_t) { rtl_freeMemory (p); } bool getValue( @@ -410,7 +410,7 @@ Bootstrap_Impl::~Bootstrap_Impl() namespace { -Bootstrap_Impl * get_static_bootstrap_handle() SAL_THROW(()) +Bootstrap_Impl * get_static_bootstrap_handle() { osl::MutexGuard guard( osl::Mutex::getGlobalMutex() ); static Bootstrap_Impl * s_handle = 0; |