summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-05 08:16:59 +0200
committerNoel Grandin <noel@peralex.com>2014-06-05 08:17:52 +0200
commit0e507ae031768deceab236a41d1bbe9fb5123cea (patch)
tree34cc1626f1e8fa6d50d6edd88045be6252150f19 /store
parentdb246b491c1639942d9f952658d33974e9b06201 (diff)
various: remove SAL_THROW macro
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
Diffstat (limited to 'store')
-rw-r--r--store/source/storbase.hxx4
-rw-r--r--store/source/storbios.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx
index 1150a6bca570..1c6205c5ea44 100644
--- a/store/source/storbase.hxx
+++ b/store/source/storbase.hxx
@@ -827,11 +827,11 @@ class OStorePageObject
public:
/** Allocation.
*/
- static void * operator new (size_t n) SAL_THROW(())
+ static void * operator new (size_t n)
{
return rtl_allocateMemory (sal_uInt32(n));
}
- static void operator delete (void * p) SAL_THROW(())
+ static void operator delete (void * p)
{
rtl_freeMemory (p);
}
diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx
index dab00785c285..1342abbce0a2 100644
--- a/store/source/storbios.cxx
+++ b/store/source/storbios.cxx
@@ -170,20 +170,20 @@ struct SuperBlockPage
/** Allocation.
*/
- static void * operator new (size_t n) SAL_THROW(())
+ static void * operator new (size_t n)
{
return rtl_allocateMemory (sal::static_int_cast<sal_Size>(n));
}
- static void operator delete (void * p) SAL_THROW(())
+ static void operator delete (void * p)
{
rtl_freeMemory (p);
}
- static void * operator new (SAL_UNUSED_PARAMETER size_t, sal_uInt16 nPageSize) SAL_THROW(())
+ static void * operator new (SAL_UNUSED_PARAMETER size_t, sal_uInt16 nPageSize)
{
return rtl_allocateZeroMemory (sal::static_int_cast<sal_Size>(nPageSize));
}
- static void operator delete (void * p, SAL_UNUSED_PARAMETER sal_uInt16) SAL_THROW(())
+ static void operator delete (void * p, SAL_UNUSED_PARAMETER sal_uInt16)
{
rtl_freeMemory (p);
}