diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-05 08:16:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-05 08:17:52 +0200 |
commit | 0e507ae031768deceab236a41d1bbe9fb5123cea (patch) | |
tree | 34cc1626f1e8fa6d50d6edd88045be6252150f19 /salhelper | |
parent | db246b491c1639942d9f952658d33974e9b06201 (diff) |
various: remove SAL_THROW macro
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
Diffstat (limited to 'salhelper')
-rw-r--r-- | salhelper/source/simplereferenceobject.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/salhelper/source/simplereferenceobject.cxx b/salhelper/source/simplereferenceobject.cxx index 2c5af54eb7a4..f2ec5a792477 100644 --- a/salhelper/source/simplereferenceobject.cxx +++ b/salhelper/source/simplereferenceobject.cxx @@ -24,20 +24,18 @@ using salhelper::SimpleReferenceObject; -SimpleReferenceObject::~SimpleReferenceObject() SAL_THROW(()) +SimpleReferenceObject::~SimpleReferenceObject() { OSL_ASSERT(m_nCount == 0); } void * SimpleReferenceObject::operator new(std::size_t nSize) - SAL_THROW((std::bad_alloc)) { return ::operator new(nSize); } void * SimpleReferenceObject::operator new(std::size_t nSize, std::nothrow_t const &) - SAL_THROW(()) { #if defined WNT return ::operator new(nSize); @@ -47,13 +45,12 @@ void * SimpleReferenceObject::operator new(std::size_t nSize, #endif // WNT } -void SimpleReferenceObject::operator delete(void * pPtr) SAL_THROW(()) +void SimpleReferenceObject::operator delete(void * pPtr) { ::operator delete(pPtr); } void SimpleReferenceObject::operator delete(void * pPtr, std::nothrow_t const &) - SAL_THROW(()) { #if defined WNT ::operator delete(pPtr); // WNT lacks a global nothrow operator delete... |